1 error[E0518]: attribute should be applied to function or closure
7 | ----------- not a function or closure
9 error[E0518]: attribute should be applied to function or closure
16 | |_- not a function or closure
18 error: aborting due to 2 previous errors
20 For more information about this error, try `rustc --explain E0518`.