summaryrefslogtreecommitdiffstats
path: root/tests/ui/traits/alias/impl.rs
blob: 6e35793a0669a9f593bfb8ceabc2e16b9f373e97 (plain)
1
2
3
4
5
6
7
#![feature(trait_alias)]

trait DefaultAlias = Default;

impl DefaultAlias for () {} //~ ERROR expected trait, found trait alias

fn main() {}