rust/tests/ui/traits/alias/basic.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

9 lines
96 B
Rust
Raw Normal View History

// run-pass
2019-03-30 22:06:09 +00:00
#![feature(trait_alias)]
pub trait Foo {}
pub trait FooAlias = Foo;
fn main() {}