rust/tests/ui/traits/issue-56488.rs

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

14 lines
150 B
Rust
Raw Normal View History

2024-02-07 02:42:01 +00:00
//@ check-pass
#![feature(trait_alias)]
mod alpha {
pub trait A {}
pub trait C = A;
}
#[allow(unused_imports)]
use alpha::C;
fn main() {}