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
= 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)
= 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)
24
+
25
+
error[E0282]: type annotations needed
26
+
--> $DIR/span-format_args-issue-140578.rs:17:64
27
+
|
28
+
LL | println!("{:?} {:?} {a} {a:?} {b:?}", [], [], a = 1 + 1, b = []);
29
+
| ^^ cannot infer type
30
+
|
31
+
= 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)
32
+
33
+
error[E0282]: type annotations needed
34
+
--> $DIR/span-format_args-issue-140578.rs:27:2
35
+
|
36
+
LL | [],
37
+
| ^^ cannot infer type
38
+
|
39
+
= 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)
40
+
41
+
error: aborting due to 5 previous errors
18
42
19
43
For more information about this error, try `rustc --explain E0282`.
0 commit comments