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

6 lines
90 B
Rust
Raw Normal View History

2022-11-08 16:15:40 -06:00
pub trait Trait<'a> {
type Assoc;
}
pub type Alias<'a, T> = <T as Trait<'a>>::Assoc;