2018-10-26 23:13:12 +01:00
|
|
|
#![feature(trait_alias)]
|
2018-10-12 01:50:03 +01:00
|
|
|
|
2018-11-01 18:17:58 +00:00
|
|
|
trait DefaultAlias = Default;
|
2018-10-12 01:50:03 +01:00
|
|
|
|
2018-11-27 10:56:36 +01:00
|
|
|
impl DefaultAlias for () {} //~ ERROR expected trait, found trait alias
|
2018-11-01 18:17:58 +00:00
|
|
|
|
|
|
|
fn main() {}
|