2021-05-15 22:10:05 -05:00
|
|
|
error: prefix `foo` is unknown
|
|
|
|
--> $DIR/reserved-prefixes.rs:16:12
|
|
|
|
|
|
|
|
|
LL | demo3!(foo#bar);
|
2021-06-14 08:03:55 -05:00
|
|
|
| ^^^ unknown prefix
|
2021-05-15 22:10:05 -05:00
|
|
|
|
|
2021-06-14 08:03:55 -05:00
|
|
|
= note: prefixed identifiers and literals are reserved since Rust 2021
|
|
|
|
help: consider inserting whitespace here
|
|
|
|
|
|
2022-09-11 14:19:07 -05:00
|
|
|
LL | demo3!(foo #bar);
|
2022-09-11 15:02:33 -05:00
|
|
|
| +
|
2021-05-15 22:10:05 -05:00
|
|
|
|
|
|
|
error: prefix `foo` is unknown
|
|
|
|
--> $DIR/reserved-prefixes.rs:17:12
|
|
|
|
|
|
|
|
|
LL | demo2!(foo"bar");
|
2021-06-14 08:03:55 -05:00
|
|
|
| ^^^ unknown prefix
|
|
|
|
|
|
|
|
|
= note: prefixed identifiers and literals are reserved since Rust 2021
|
|
|
|
help: consider inserting whitespace here
|
2021-05-15 22:10:05 -05:00
|
|
|
|
|
2022-09-11 14:19:07 -05:00
|
|
|
LL | demo2!(foo "bar");
|
2022-09-11 15:02:33 -05:00
|
|
|
| +
|
2021-05-15 22:10:05 -05:00
|
|
|
|
|
|
|
error: prefix `foo` is unknown
|
|
|
|
--> $DIR/reserved-prefixes.rs:18:12
|
|
|
|
|
|
|
|
|
LL | demo2!(foo'b');
|
2021-06-14 08:03:55 -05:00
|
|
|
| ^^^ unknown prefix
|
|
|
|
|
|
|
|
|
= note: prefixed identifiers and literals are reserved since Rust 2021
|
|
|
|
help: consider inserting whitespace here
|
2021-05-15 22:10:05 -05:00
|
|
|
|
|
2022-09-11 14:19:07 -05:00
|
|
|
LL | demo2!(foo 'b');
|
2022-09-11 15:02:33 -05:00
|
|
|
| +
|
2021-05-15 22:10:05 -05:00
|
|
|
|
|
|
|
error: prefix `foo` is unknown
|
|
|
|
--> $DIR/reserved-prefixes.rs:20:12
|
|
|
|
|
|
|
|
|
LL | demo2!(foo'b);
|
2021-06-14 08:03:55 -05:00
|
|
|
| ^^^ unknown prefix
|
2021-05-15 22:10:05 -05:00
|
|
|
|
|
2021-06-14 08:03:55 -05:00
|
|
|
= note: prefixed identifiers and literals are reserved since Rust 2021
|
|
|
|
help: consider inserting whitespace here
|
|
|
|
|
|
2022-09-11 14:19:07 -05:00
|
|
|
LL | demo2!(foo 'b);
|
2022-09-11 15:02:33 -05:00
|
|
|
| +
|
2021-05-15 22:10:05 -05:00
|
|
|
|
|
|
|
error: prefix `foo` is unknown
|
|
|
|
--> $DIR/reserved-prefixes.rs:21:12
|
|
|
|
|
|
|
|
|
LL | demo3!(foo# bar);
|
2021-06-14 08:03:55 -05:00
|
|
|
| ^^^ unknown prefix
|
|
|
|
|
|
|
|
|
= note: prefixed identifiers and literals are reserved since Rust 2021
|
|
|
|
help: consider inserting whitespace here
|
2021-05-15 22:10:05 -05:00
|
|
|
|
|
2022-09-11 14:19:07 -05:00
|
|
|
LL | demo3!(foo # bar);
|
2022-09-11 15:02:33 -05:00
|
|
|
| +
|
2021-05-15 22:10:05 -05:00
|
|
|
|
|
|
|
error: prefix `foo` is unknown
|
|
|
|
--> $DIR/reserved-prefixes.rs:22:12
|
|
|
|
|
|
|
|
|
LL | demo4!(foo#! bar);
|
2021-06-14 08:03:55 -05:00
|
|
|
| ^^^ unknown prefix
|
2021-05-15 22:10:05 -05:00
|
|
|
|
|
2021-06-14 08:03:55 -05:00
|
|
|
= note: prefixed identifiers and literals are reserved since Rust 2021
|
|
|
|
help: consider inserting whitespace here
|
|
|
|
|
|
2022-09-11 14:19:07 -05:00
|
|
|
LL | demo4!(foo #! bar);
|
2022-09-11 15:02:33 -05:00
|
|
|
| +
|
2021-05-15 22:10:05 -05:00
|
|
|
|
|
|
|
error: prefix `foo` is unknown
|
|
|
|
--> $DIR/reserved-prefixes.rs:23:12
|
|
|
|
|
|
|
|
|
LL | demo4!(foo## bar);
|
2021-06-14 08:03:55 -05:00
|
|
|
| ^^^ unknown prefix
|
|
|
|
|
|
|
|
|
= note: prefixed identifiers and literals are reserved since Rust 2021
|
|
|
|
help: consider inserting whitespace here
|
2021-05-15 22:10:05 -05:00
|
|
|
|
|
2022-09-11 14:19:07 -05:00
|
|
|
LL | demo4!(foo ## bar);
|
2022-09-11 15:02:33 -05:00
|
|
|
| +
|
2021-05-15 22:10:05 -05:00
|
|
|
|
|
|
|
error: prefix `foo` is unknown
|
|
|
|
--> $DIR/reserved-prefixes.rs:25:12
|
|
|
|
|
|
|
|
|
LL | demo4!(foo#bar#);
|
2021-06-14 08:03:55 -05:00
|
|
|
| ^^^ unknown prefix
|
2021-05-15 22:10:05 -05:00
|
|
|
|
|
2021-06-14 08:03:55 -05:00
|
|
|
= note: prefixed identifiers and literals are reserved since Rust 2021
|
|
|
|
help: consider inserting whitespace here
|
|
|
|
|
|
2022-09-11 14:19:07 -05:00
|
|
|
LL | demo4!(foo #bar#);
|
2022-09-11 15:02:33 -05:00
|
|
|
| +
|
2021-05-15 22:10:05 -05:00
|
|
|
|
|
|
|
error: prefix `bar` is unknown
|
|
|
|
--> $DIR/reserved-prefixes.rs:25:16
|
|
|
|
|
|
|
|
|
LL | demo4!(foo#bar#);
|
2021-06-14 08:03:55 -05:00
|
|
|
| ^^^ unknown prefix
|
|
|
|
|
|
|
|
|
= note: prefixed identifiers and literals are reserved since Rust 2021
|
|
|
|
help: consider inserting whitespace here
|
2021-05-15 22:10:05 -05:00
|
|
|
|
|
2022-09-11 14:19:07 -05:00
|
|
|
LL | demo4!(foo#bar #);
|
2022-09-11 15:02:33 -05:00
|
|
|
| +
|
2021-05-15 22:10:05 -05:00
|
|
|
|
|
|
|
error: aborting due to 9 previous errors
|
|
|
|
|