mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-03 20:23:59 +00:00
4e418805da
Partially address #71039.
47 lines
1.8 KiB
Plaintext
47 lines
1.8 KiB
Plaintext
error: unexpected token: `1.1`
|
|
--> $DIR/float-field-interpolated.rs:8:13
|
|
|
|
|
LL | { s.$b; }
|
|
| ^^
|
|
...
|
|
LL | generate_field_accesses!(1.1, 1.1, 1.1);
|
|
| --------------------------------------- in this macro invocation
|
|
|
|
|
= note: this error originates in the macro `generate_field_accesses` (in Nightly builds, run with -Z macro-backtrace for more info)
|
|
|
|
error: expected one of `.`, `;`, `?`, `}`, or an operator, found literal `1.1`
|
|
--> $DIR/float-field-interpolated.rs:8:13
|
|
|
|
|
LL | { s.$b; }
|
|
| ^^ expected one of `.`, `;`, `?`, `}`, or an operator
|
|
...
|
|
LL | generate_field_accesses!(1.1, 1.1, 1.1);
|
|
| --------------------------------------- in this macro invocation
|
|
|
|
|
= note: this error originates in the macro `generate_field_accesses` (in Nightly builds, run with -Z macro-backtrace for more info)
|
|
|
|
error: unexpected token: `1.1`
|
|
--> $DIR/float-field-interpolated.rs:10:13
|
|
|
|
|
LL | { s.$c; }
|
|
| ^^
|
|
...
|
|
LL | generate_field_accesses!(1.1, 1.1, 1.1);
|
|
| --------------------------------------- in this macro invocation
|
|
|
|
|
= note: this error originates in the macro `generate_field_accesses` (in Nightly builds, run with -Z macro-backtrace for more info)
|
|
|
|
error: expected one of `.`, `;`, `?`, `}`, or an operator, found expression `1.1`
|
|
--> $DIR/float-field-interpolated.rs:10:13
|
|
|
|
|
LL | { s.$c; }
|
|
| ^^ expected one of `.`, `;`, `?`, `}`, or an operator
|
|
...
|
|
LL | generate_field_accesses!(1.1, 1.1, 1.1);
|
|
| --------------------------------------- in this macro invocation
|
|
|
|
|
= note: this error originates in the macro `generate_field_accesses` (in Nightly builds, run with -Z macro-backtrace for more info)
|
|
|
|
error: aborting due to 4 previous errors
|
|
|