]>
git.proxmox.com Git - rustc.git/blob - src/test/ui/associated-path-shl.rs
1 // Check that associated paths starting with `<<` are successfully parsed.
4 let _
: <<A
>::B
>::C
; //~ ERROR cannot find type `A` in this scope
5 let _
= <<A
>::B
>::C
; //~ ERROR cannot find type `A` in this scope
6 let <<A
>::B
>::C
; //~ ERROR cannot find type `A` in this scope
7 let 0 ..= <<A
>::B
>::C
; //~ ERROR cannot find type `A` in this scope
8 <<A
>::B
>::C
; //~ ERROR cannot find type `A` in this scope