rust/tests/ui/parser/impl-qpath.rs
2024-02-16 20:02:50 +00:00

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