blob: 68e983f23b03459c7d4c7b1869853912a6c24127 [file] [log] [blame]
warning: type alias is never used: `Z`
--> $DIR/issue-37515.rs:14:1
|
LL | type Z = for<'x> Send;
| ^^^^^^^^^^^^^^^^^^^^^^
|
note: lint level defined here
--> $DIR/issue-37515.rs:12:9
|
LL | #![warn(unused)]
| ^^^^^^
= note: #[warn(dead_code)] implied by #[warn(unused)]
error: compilation successful
--> $DIR/issue-37515.rs:18:1
|
LL | / fn main() { //~ ERROR compilation successful
LL | | }
| |_^
error: aborting due to previous error