d6efcbb760
Very similar to #126719. So much so that I added a new case to the test from that PR rather than creating a new one.
23 lines
1.1 KiB
Text
23 lines
1.1 KiB
Text
error[E0658]: the `#[expect]` attribute is an experimental feature
|
|
--> $DIR/expect-future_breakage-crash-issue-126521.rs:16:5
|
|
|
|
|
LL | #[expect(semicolon_in_expressions_from_macros)]
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
= note: see issue #54503 <https://github.com/rust-lang/rust/issues/54503> for more information
|
|
= help: add `#![feature(lint_reasons)]` to the crate attributes to enable
|
|
= note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date
|
|
|
|
error[E0658]: the `#[expect]` attribute is an experimental feature
|
|
--> $DIR/expect-future_breakage-crash-issue-126521.rs:20:5
|
|
|
|
|
LL | #[expect(semicolon_in_expressions_from_macros)]
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
= note: see issue #54503 <https://github.com/rust-lang/rust/issues/54503> for more information
|
|
= help: add `#![feature(lint_reasons)]` to the crate attributes to enable
|
|
= note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date
|
|
|
|
error: aborting due to 2 previous errors
|
|
|
|
For more information about this error, try `rustc --explain E0658`.
|