mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-23 07:14:28 +00:00
111 lines
2.8 KiB
Plaintext
111 lines
2.8 KiB
Plaintext
error: prefix `foo` is unknown
|
|
--> $DIR/reserved-prefixes.rs:16:12
|
|
|
|
|
LL | demo3!(foo#bar);
|
|
| ^^^ unknown prefix
|
|
|
|
|
= note: prefixed identifiers and literals are reserved since Rust 2021
|
|
help: consider inserting whitespace here
|
|
|
|
|
LL | demo3!(foo #bar);
|
|
| +
|
|
|
|
error: prefix `foo` is unknown
|
|
--> $DIR/reserved-prefixes.rs:17:12
|
|
|
|
|
LL | demo2!(foo"bar");
|
|
| ^^^ unknown prefix
|
|
|
|
|
= note: prefixed identifiers and literals are reserved since Rust 2021
|
|
help: consider inserting whitespace here
|
|
|
|
|
LL | demo2!(foo "bar");
|
|
| +
|
|
|
|
error: prefix `foo` is unknown
|
|
--> $DIR/reserved-prefixes.rs:18:12
|
|
|
|
|
LL | demo2!(foo'b');
|
|
| ^^^ unknown prefix
|
|
|
|
|
= note: prefixed identifiers and literals are reserved since Rust 2021
|
|
help: consider inserting whitespace here
|
|
|
|
|
LL | demo2!(foo 'b');
|
|
| +
|
|
|
|
error: prefix `foo` is unknown
|
|
--> $DIR/reserved-prefixes.rs:20:12
|
|
|
|
|
LL | demo2!(foo'b);
|
|
| ^^^ unknown prefix
|
|
|
|
|
= note: prefixed identifiers and literals are reserved since Rust 2021
|
|
help: consider inserting whitespace here
|
|
|
|
|
LL | demo2!(foo 'b);
|
|
| +
|
|
|
|
error: prefix `foo` is unknown
|
|
--> $DIR/reserved-prefixes.rs:21:12
|
|
|
|
|
LL | demo3!(foo# bar);
|
|
| ^^^ unknown prefix
|
|
|
|
|
= note: prefixed identifiers and literals are reserved since Rust 2021
|
|
help: consider inserting whitespace here
|
|
|
|
|
LL | demo3!(foo # bar);
|
|
| +
|
|
|
|
error: prefix `foo` is unknown
|
|
--> $DIR/reserved-prefixes.rs:22:12
|
|
|
|
|
LL | demo4!(foo#! bar);
|
|
| ^^^ unknown prefix
|
|
|
|
|
= note: prefixed identifiers and literals are reserved since Rust 2021
|
|
help: consider inserting whitespace here
|
|
|
|
|
LL | demo4!(foo #! bar);
|
|
| +
|
|
|
|
error: prefix `foo` is unknown
|
|
--> $DIR/reserved-prefixes.rs:23:12
|
|
|
|
|
LL | demo4!(foo## bar);
|
|
| ^^^ unknown prefix
|
|
|
|
|
= note: prefixed identifiers and literals are reserved since Rust 2021
|
|
help: consider inserting whitespace here
|
|
|
|
|
LL | demo4!(foo ## bar);
|
|
| +
|
|
|
|
error: prefix `foo` is unknown
|
|
--> $DIR/reserved-prefixes.rs:25:12
|
|
|
|
|
LL | demo4!(foo#bar#);
|
|
| ^^^ unknown prefix
|
|
|
|
|
= note: prefixed identifiers and literals are reserved since Rust 2021
|
|
help: consider inserting whitespace here
|
|
|
|
|
LL | demo4!(foo #bar#);
|
|
| +
|
|
|
|
error: prefix `bar` is unknown
|
|
--> $DIR/reserved-prefixes.rs:25:16
|
|
|
|
|
LL | demo4!(foo#bar#);
|
|
| ^^^ unknown prefix
|
|
|
|
|
= note: prefixed identifiers and literals are reserved since Rust 2021
|
|
help: consider inserting whitespace here
|
|
|
|
|
LL | demo4!(foo#bar #);
|
|
| +
|
|
|
|
error: aborting due to 9 previous errors
|
|
|