1 error: attribute should be applied to a function
2 --> $DIR/issue-54044.rs:4:1
8 | ----------- not a function
10 note: the lint level is defined here
11 --> $DIR/issue-54044.rs:2:9
13 LL | #![deny(unused_attributes)]
15 = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
17 error: attribute should be applied to a function
18 --> $DIR/issue-54044.rs:10:5
26 = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
28 error: aborting due to 2 previous errors