rust/src/test/ui/issues/issue-56488.rs
Niko Matsakis b411994b3b new trait alias tests
Co-authored-by: Alexander Regueiro <alexreg@me.com>
2019-01-10 17:04:26 -05:00

14 lines
147 B
Rust

// run-pass
#![feature(trait_alias)]
mod alpha {
pub trait A {}
pub trait C = A;
}
#[allow(unused_imports)]
use alpha::C;
fn main() {}