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

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

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;