rust/tests/ui/parser/impl-qpath.rs

8 lines
200 B
Rust

//@ check-pass
//@ compile-flags: -Z parse-only
impl <*const u8>::AssocTy {} // OK
impl <Type as Trait>::AssocTy {} // OK
impl <'a + Trait>::AssocTy {} // OK
impl <<Type>::AssocTy>::AssocTy {} // OK