blob: af6bb58071fff70d77791fac047d01f0d24a25cb [file] [log] [blame]
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