Skip to content

Commit e7c17a8

Browse files
committed
Added test for issue rust-lang#56488.
1 parent f9b8d8e commit e7c17a8

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

src/test/ui/issues/issue-56488.rs

+13
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
// run-pass
2+
3+
#![feature(trait_alias)]
4+
5+
mod alpha {
6+
pub trait A {}
7+
pub trait C = A;
8+
}
9+
10+
#[allow(unused_imports)]
11+
use alpha::C;
12+
13+
fn main() {}

0 commit comments

Comments
 (0)