2025-06-22 22:49:22 +02:00
|
|
|
// NOTE: this used to panic in debug builds (by a sanity assertion)
|
|
|
|
|
// and not emit any lint on release builds. See https://github.com/rust-lang/rust/issues/142891.
|
2025-06-22 22:45:28 +02:00
|
|
|
#![inline = ""]
|
2025-08-11 11:46:30 +02:00
|
|
|
//~^ ERROR: valid forms for the attribute are `#![inline(always)]`, `#![inline(never)]`, and `#![inline]` [ill_formed_attribute_input]
|
2025-06-22 22:49:22 +02:00
|
|
|
//~| WARN this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
|
2025-08-09 20:41:01 +02:00
|
|
|
//~| ERROR attribute cannot be used on
|
2025-06-22 22:45:28 +02:00
|
|
|
|
|
|
|
|
fn main() {}
|