summaryrefslogtreecommitdiffstats
path: root/tests/ui/inference/need_type_info/issue-107745-avoid-expr-from-macro-expansion.stderr
blob: 464655bbcf4515b90d764cbea4ecb3565f316943 (plain)
1
2
3
4
5
6
7
8
9
10
11
error[E0282]: type annotations needed
  --> $DIR/issue-107745-avoid-expr-from-macro-expansion.rs:17:22
   |
LL |     println!("{:?}", []);
   |                      ^^ cannot infer type
   |
   = 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)

error: aborting due to previous error

For more information about this error, try `rustc --explain E0282`.