#[repr = "3900"] fn f() { }
//~^ WARN unused attribute
- #[repr = "3900"] struct S;
- //~^ WARN unused attribute
+ struct S;
#[repr = "3900"] type T = S;
//~^ WARN unused attribute
mod inner { #![must_use="1400"] }
#[must_use = "1400"] fn f() { }
+ //~^ WARN `#[must_use]` on functions is experimental
#[must_use = "1400"] struct S;