Skip to content

Commit

Permalink
Added test for issue rust-lang#56488.
Browse files Browse the repository at this point in the history
  • Loading branch information
alexreg committed Jan 2, 2019
1 parent f9b8d8e commit e7c17a8
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions src/test/ui/issues/issue-56488.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
// run-pass

#![feature(trait_alias)]

mod alpha {
pub trait A {}
pub trait C = A;
}

#[allow(unused_imports)]
use alpha::C;

fn main() {}

0 comments on commit e7c17a8

Please sign in to comment.