blob: af6bb58071fff70d77791fac047d01f0d24a25cb (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
error: invalid format string: tuple index access isn't supported
--> $DIR/format-args-non-identifier-diagnostics.rs:8:16
|
LL | println!("{x.0}");
| ^^^ not supported in format string
|
help: consider using a positional formatting argument instead
|
LL - println!("{x.0}");
LL + println!("{0}", x.0);
|
error: aborting due to 1 previous error
|