rust/tests/ui/parser/float-field-interpolated.stderr

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

47 lines
1.8 KiB
Plaintext
Raw Normal View History

2020-07-01 06:12:49 -05:00
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);
2021-10-14 13:28:28 -05:00
| --------------------------------------- in this macro invocation
2020-07-01 06:12:49 -05:00
|
= note: this error originates in the macro `generate_field_accesses` (in Nightly builds, run with -Z macro-backtrace for more info)
2020-07-01 06:12:49 -05:00
error: expected one of `.`, `;`, `?`, `}`, or an operator, found `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);
2021-10-14 13:28:28 -05:00
| --------------------------------------- in this macro invocation
2020-07-01 06:12:49 -05:00
|
= note: this error originates in the macro `generate_field_accesses` (in Nightly builds, run with -Z macro-backtrace for more info)
2020-07-01 06:12:49 -05:00
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);
2021-10-14 13:28:28 -05:00
| --------------------------------------- in this macro invocation
2020-07-01 06:12:49 -05:00
|
= note: this error originates in the macro `generate_field_accesses` (in Nightly builds, run with -Z macro-backtrace for more info)
2020-07-01 06:12:49 -05:00
error: expected one of `.`, `;`, `?`, `}`, or an operator, found `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);
2021-10-14 13:28:28 -05:00
| --------------------------------------- in this macro invocation
2020-07-01 06:12:49 -05:00
|
= note: this error originates in the macro `generate_field_accesses` (in Nightly builds, run with -Z macro-backtrace for more info)
2020-07-01 06:12:49 -05:00
error: aborting due to 4 previous errors