rust/tests/ui/late-bound-lifetimes/auxiliary/upstream_alias.rs

6 lines
90 B
Rust

pub trait Trait<'a> {
type Assoc;
}
pub type Alias<'a, T> = <T as Trait<'a>>::Assoc;