294 lines
11 KiB
Plaintext
294 lines
11 KiB
Plaintext
warning: will be parsed as a guarded string in Rust 2024
|
|
--> $DIR/reserved-guarded-strings-migration.rs:40:12
|
|
|
|
|
LL | demo3!(## "foo");
|
|
| ^^
|
|
|
|
|
= warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024!
|
|
= note: for more information, see issue #123735 <https://github.com/rust-lang/rust/issues/123735>
|
|
note: the lint level is defined here
|
|
--> $DIR/reserved-guarded-strings-migration.rs:5:9
|
|
|
|
|
LL | #![warn(rust_2024_guarded_string_incompatible_syntax)]
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
help: insert whitespace here to avoid this being parsed as a guarded string in Rust 2024
|
|
|
|
|
LL | demo3!(# # "foo");
|
|
| +
|
|
|
|
warning: will be parsed as a guarded string in Rust 2024
|
|
--> $DIR/reserved-guarded-strings-migration.rs:43:12
|
|
|
|
|
LL | demo4!(### "foo");
|
|
| ^^
|
|
|
|
|
= warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024!
|
|
= note: for more information, see issue #123735 <https://github.com/rust-lang/rust/issues/123735>
|
|
help: insert whitespace here to avoid this being parsed as a guarded string in Rust 2024
|
|
|
|
|
LL | demo4!(# ## "foo");
|
|
| +
|
|
|
|
warning: will be parsed as a guarded string in Rust 2024
|
|
--> $DIR/reserved-guarded-strings-migration.rs:43:13
|
|
|
|
|
LL | demo4!(### "foo");
|
|
| ^^
|
|
|
|
|
= warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024!
|
|
= note: for more information, see issue #123735 <https://github.com/rust-lang/rust/issues/123735>
|
|
help: insert whitespace here to avoid this being parsed as a guarded string in Rust 2024
|
|
|
|
|
LL | demo4!(## # "foo");
|
|
| +
|
|
|
|
warning: will be parsed as a guarded string in Rust 2024
|
|
--> $DIR/reserved-guarded-strings-migration.rs:48:12
|
|
|
|
|
LL | demo4!(## "foo"#);
|
|
| ^^
|
|
|
|
|
= warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024!
|
|
= note: for more information, see issue #123735 <https://github.com/rust-lang/rust/issues/123735>
|
|
help: insert whitespace here to avoid this being parsed as a guarded string in Rust 2024
|
|
|
|
|
LL | demo4!(# # "foo"#);
|
|
| +
|
|
|
|
warning: will be parsed as a guarded string in Rust 2024
|
|
--> $DIR/reserved-guarded-strings-migration.rs:51:12
|
|
|
|
|
LL | demo6!(### "foo"##);
|
|
| ^^
|
|
|
|
|
= warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024!
|
|
= note: for more information, see issue #123735 <https://github.com/rust-lang/rust/issues/123735>
|
|
help: insert whitespace here to avoid this being parsed as a guarded string in Rust 2024
|
|
|
|
|
LL | demo6!(# ## "foo"##);
|
|
| +
|
|
|
|
warning: will be parsed as a guarded string in Rust 2024
|
|
--> $DIR/reserved-guarded-strings-migration.rs:51:13
|
|
|
|
|
LL | demo6!(### "foo"##);
|
|
| ^^
|
|
|
|
|
= warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024!
|
|
= note: for more information, see issue #123735 <https://github.com/rust-lang/rust/issues/123735>
|
|
help: insert whitespace here to avoid this being parsed as a guarded string in Rust 2024
|
|
|
|
|
LL | demo6!(## # "foo"##);
|
|
| +
|
|
|
|
warning: will be parsed as a guarded string in Rust 2024
|
|
--> $DIR/reserved-guarded-strings-migration.rs:51:21
|
|
|
|
|
LL | demo6!(### "foo"##);
|
|
| ^^
|
|
|
|
|
= warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024!
|
|
= note: for more information, see issue #123735 <https://github.com/rust-lang/rust/issues/123735>
|
|
help: insert whitespace here to avoid this being parsed as a guarded string in Rust 2024
|
|
|
|
|
LL | demo6!(### "foo"# #);
|
|
| +
|
|
|
|
warning: will be parsed as a guarded string in Rust 2024
|
|
--> $DIR/reserved-guarded-strings-migration.rs:59:17
|
|
|
|
|
LL | demo4!("foo"###);
|
|
| ^^
|
|
|
|
|
= warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024!
|
|
= note: for more information, see issue #123735 <https://github.com/rust-lang/rust/issues/123735>
|
|
help: insert whitespace here to avoid this being parsed as a guarded string in Rust 2024
|
|
|
|
|
LL | demo4!("foo"# ##);
|
|
| +
|
|
|
|
warning: will be parsed as a guarded string in Rust 2024
|
|
--> $DIR/reserved-guarded-strings-migration.rs:59:18
|
|
|
|
|
LL | demo4!("foo"###);
|
|
| ^^
|
|
|
|
|
= warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024!
|
|
= note: for more information, see issue #123735 <https://github.com/rust-lang/rust/issues/123735>
|
|
help: insert whitespace here to avoid this being parsed as a guarded string in Rust 2024
|
|
|
|
|
LL | demo4!("foo"## #);
|
|
| +
|
|
|
|
warning: will be parsed as a guarded string in Rust 2024
|
|
--> $DIR/reserved-guarded-strings-migration.rs:65:12
|
|
|
|
|
LL | demo2!(#"");
|
|
| ^^^
|
|
|
|
|
= warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024!
|
|
= note: for more information, see issue #123735 <https://github.com/rust-lang/rust/issues/123735>
|
|
help: insert whitespace here to avoid this being parsed as a guarded string in Rust 2024
|
|
|
|
|
LL | demo2!(# "");
|
|
| +
|
|
|
|
warning: will be parsed as a guarded string in Rust 2024
|
|
--> $DIR/reserved-guarded-strings-migration.rs:68:12
|
|
|
|
|
LL | demo3!(#""#);
|
|
| ^^^^
|
|
|
|
|
= warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024!
|
|
= note: for more information, see issue #123735 <https://github.com/rust-lang/rust/issues/123735>
|
|
help: insert whitespace here to avoid this being parsed as a guarded string in Rust 2024
|
|
|
|
|
LL | demo3!(# ""#);
|
|
| +
|
|
|
|
warning: will be parsed as a guarded string in Rust 2024
|
|
--> $DIR/reserved-guarded-strings-migration.rs:71:12
|
|
|
|
|
LL | demo3!(##"");
|
|
| ^^^^
|
|
|
|
|
= warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024!
|
|
= note: for more information, see issue #123735 <https://github.com/rust-lang/rust/issues/123735>
|
|
help: insert whitespace here to avoid this being parsed as a guarded string in Rust 2024
|
|
|
|
|
LL | demo3!(# #"");
|
|
| +
|
|
|
|
warning: will be parsed as a guarded string in Rust 2024
|
|
--> $DIR/reserved-guarded-strings-migration.rs:71:13
|
|
|
|
|
LL | demo3!(##"");
|
|
| ^^^
|
|
|
|
|
= warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024!
|
|
= note: for more information, see issue #123735 <https://github.com/rust-lang/rust/issues/123735>
|
|
help: insert whitespace here to avoid this being parsed as a guarded string in Rust 2024
|
|
|
|
|
LL | demo3!(## "");
|
|
| +
|
|
|
|
warning: will be parsed as a guarded string in Rust 2024
|
|
--> $DIR/reserved-guarded-strings-migration.rs:76:12
|
|
|
|
|
LL | demo2!(#"foo");
|
|
| ^^^^^^
|
|
|
|
|
= warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024!
|
|
= note: for more information, see issue #123735 <https://github.com/rust-lang/rust/issues/123735>
|
|
help: insert whitespace here to avoid this being parsed as a guarded string in Rust 2024
|
|
|
|
|
LL | demo2!(# "foo");
|
|
| +
|
|
|
|
warning: will be parsed as a guarded string in Rust 2024
|
|
--> $DIR/reserved-guarded-strings-migration.rs:79:12
|
|
|
|
|
LL | demo3!(##"foo");
|
|
| ^^^^^^^
|
|
|
|
|
= warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024!
|
|
= note: for more information, see issue #123735 <https://github.com/rust-lang/rust/issues/123735>
|
|
help: insert whitespace here to avoid this being parsed as a guarded string in Rust 2024
|
|
|
|
|
LL | demo3!(# #"foo");
|
|
| +
|
|
|
|
warning: will be parsed as a guarded string in Rust 2024
|
|
--> $DIR/reserved-guarded-strings-migration.rs:79:13
|
|
|
|
|
LL | demo3!(##"foo");
|
|
| ^^^^^^
|
|
|
|
|
= warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024!
|
|
= note: for more information, see issue #123735 <https://github.com/rust-lang/rust/issues/123735>
|
|
help: insert whitespace here to avoid this being parsed as a guarded string in Rust 2024
|
|
|
|
|
LL | demo3!(## "foo");
|
|
| +
|
|
|
|
warning: will be parsed as a guarded string in Rust 2024
|
|
--> $DIR/reserved-guarded-strings-migration.rs:84:12
|
|
|
|
|
LL | demo3!(#"foo"#);
|
|
| ^^^^^^^
|
|
|
|
|
= warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024!
|
|
= note: for more information, see issue #123735 <https://github.com/rust-lang/rust/issues/123735>
|
|
help: insert whitespace here to avoid this being parsed as a guarded string in Rust 2024
|
|
|
|
|
LL | demo3!(# "foo"#);
|
|
| +
|
|
|
|
warning: will be parsed as a guarded string in Rust 2024
|
|
--> $DIR/reserved-guarded-strings-migration.rs:87:12
|
|
|
|
|
LL | demo4!(##"foo"#);
|
|
| ^^^^^^^^
|
|
|
|
|
= warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024!
|
|
= note: for more information, see issue #123735 <https://github.com/rust-lang/rust/issues/123735>
|
|
help: insert whitespace here to avoid this being parsed as a guarded string in Rust 2024
|
|
|
|
|
LL | demo4!(# #"foo"#);
|
|
| +
|
|
|
|
warning: will be parsed as a guarded string in Rust 2024
|
|
--> $DIR/reserved-guarded-strings-migration.rs:87:13
|
|
|
|
|
LL | demo4!(##"foo"#);
|
|
| ^^^^^^^
|
|
|
|
|
= warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024!
|
|
= note: for more information, see issue #123735 <https://github.com/rust-lang/rust/issues/123735>
|
|
help: insert whitespace here to avoid this being parsed as a guarded string in Rust 2024
|
|
|
|
|
LL | demo4!(## "foo"#);
|
|
| +
|
|
|
|
warning: will be parsed as a guarded string in Rust 2024
|
|
--> $DIR/reserved-guarded-strings-migration.rs:92:12
|
|
|
|
|
LL | demo5!(##"foo"##);
|
|
| ^^^^^^^^^
|
|
|
|
|
= warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024!
|
|
= note: for more information, see issue #123735 <https://github.com/rust-lang/rust/issues/123735>
|
|
help: insert whitespace here to avoid this being parsed as a guarded string in Rust 2024
|
|
|
|
|
LL | demo5!(# #"foo"##);
|
|
| +
|
|
|
|
warning: will be parsed as a guarded string in Rust 2024
|
|
--> $DIR/reserved-guarded-strings-migration.rs:92:13
|
|
|
|
|
LL | demo5!(##"foo"##);
|
|
| ^^^^^^^
|
|
|
|
|
= warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024!
|
|
= note: for more information, see issue #123735 <https://github.com/rust-lang/rust/issues/123735>
|
|
help: insert whitespace here to avoid this being parsed as a guarded string in Rust 2024
|
|
|
|
|
LL | demo5!(## "foo"##);
|
|
| +
|
|
|
|
warning: will be parsed as a guarded string in Rust 2024
|
|
--> $DIR/reserved-guarded-strings-migration.rs:92:19
|
|
|
|
|
LL | demo5!(##"foo"##);
|
|
| ^^
|
|
|
|
|
= warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024!
|
|
= note: for more information, see issue #123735 <https://github.com/rust-lang/rust/issues/123735>
|
|
help: insert whitespace here to avoid this being parsed as a guarded string in Rust 2024
|
|
|
|
|
LL | demo5!(##"foo"# #);
|
|
| +
|
|
|
|
warning: 22 warnings emitted
|
|
|