error: type alias `Unused` is never used --> $DIR/type-alias.rs:4:6 | LL | type Unused = u8; | ^^^^^^ | note: the lint level is defined here --> $DIR/type-alias.rs:1:9 | LL | #![deny(dead_code)] | ^^^^^^^^^ error: aborting due to previous error