2025-08-09 20:41:01 +02:00
|
|
|
error: `#[inline]` attribute cannot be used on crates
|
|
|
|
|
--> $DIR/lint_on_root.rs:3:1
|
|
|
|
|
|
|
|
|
|
|
LL | #![inline = ""]
|
|
|
|
|
| ^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
|
|
|
= help: `#[inline]` can only be applied to functions
|
|
|
|
|
|
2025-08-11 11:46:30 +02:00
|
|
|
error: valid forms for the attribute are `#![inline(always)]`, `#![inline(never)]`, and `#![inline]`
|
2025-06-22 22:49:22 +02:00
|
|
|
--> $DIR/lint_on_root.rs:3:1
|
|
|
|
|
|
|
|
|
|
|
LL | #![inline = ""]
|
|
|
|
|
| ^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
|
|
|
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
|
|
|
|
|
= note: for more information, see issue #57571 <https://github.com/rust-lang/rust/issues/57571>
|
2025-04-28 13:47:25 +02:00
|
|
|
= note: `#[deny(ill_formed_attribute_input)]` (part of `#[deny(future_incompatible)]`) on by default
|
2025-06-22 22:49:22 +02:00
|
|
|
|
2025-08-09 20:41:01 +02:00
|
|
|
error: aborting due to 2 previous errors
|
2025-06-22 22:49:22 +02:00
|
|
|
|
2025-07-27 22:45:10 +02:00
|
|
|
Future incompatibility report: Future breakage diagnostic:
|
2025-08-11 11:46:30 +02:00
|
|
|
error: valid forms for the attribute are `#![inline(always)]`, `#![inline(never)]`, and `#![inline]`
|
2025-07-27 22:45:10 +02:00
|
|
|
--> $DIR/lint_on_root.rs:3:1
|
|
|
|
|
|
|
|
|
|
|
LL | #![inline = ""]
|
|
|
|
|
| ^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
|
|
|
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
|
|
|
|
|
= note: for more information, see issue #57571 <https://github.com/rust-lang/rust/issues/57571>
|
2025-04-28 13:47:25 +02:00
|
|
|
= note: `#[deny(ill_formed_attribute_input)]` (part of `#[deny(future_incompatible)]`) on by default
|
2025-07-27 22:45:10 +02:00
|
|
|
|