error[E0404]: expected trait, found trait alias `DefaultAlias` --> $DIR/impl.rs:5:6 | LL | impl DefaultAlias for () {} | ^^^^^^^^^^^^ not a trait error: aborting due to 1 previous error For more information about this error, try `rustc --explain E0404`.