You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Auto merge of #107889 - matthiaskrgr:rollup-c0d4al0, r=matthiaskrgr
Rollup of 6 pull requests
Successful merges:
- #107789 (Avoid exposing type parameters and implementation details sourced from macro expansions)
- #107836 (Handle properly when there is no crate attrs)
- #107839 (avoid duplicating the RUSTC_LOG env var name)
- #107866 (Allow wasi-libc to initialize its environment variables lazily.)
- #107876 (create symlink only for non-windows operating systems)
- #107882 (Cleanup typos in en_US/borrowck.ftl)
Failed merges:
r? `@ghost`
`@rustbot` modify labels: rollup
= note: this error originates in the macro `$crate::format_args_nl` which comes from the expansion of the macro `println` (in Nightly builds, run with -Z macro-backtrace for more info)
8
+
9
+
error: aborting due to previous error
10
+
11
+
For more information about this error, try `rustc --explain E0282`.
Copy file name to clipboardExpand all lines: tests/ui/issues/issue-16966.stderr
+2-4
Original file line number
Diff line number
Diff line change
@@ -1,10 +1,8 @@
1
1
error[E0282]: type annotations needed
2
-
--> $DIR/issue-16966.rs:2:5
2
+
--> $DIR/issue-16966.rs:2:12
3
3
|
4
4
LL | panic!(std::default::Default::default());
5
-
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type of the type parameter `M` declared on the function `begin_panic`
6
-
|
7
-
= note: this error originates in the macro `$crate::panic::panic_2015` which comes from the expansion of the macro `panic` (in Nightly builds, run with -Z macro-backtrace for more info)
5
+
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type
0 commit comments