error: must be placed on a trait impl --> $DIR/not-trait-impl.rs:5:1 | 5 | #[inherent] | ^^^^^^^^^^^ | = note: this error originates in an attribute macro (in Nightly builds, run with -Z macro-backtrace for more info)