]> git.proxmox.com Git - rustc.git/blob - src/test/ui/associated-consts/issue-93835.rs
New upstream version 1.67.1+dfsg1
[rustc.git] / src / test / ui / associated-consts / issue-93835.rs
1 #![feature(type_ascription)]
2
3 fn e() {
4 type_ascribe!(p, a<p:p<e=6>>);
5 //~^ ERROR cannot find type `a` in this scope
6 //~| ERROR cannot find value
7 //~| ERROR associated const equality
8 //~| ERROR cannot find trait `p` in this scope
9 //~| ERROR associated type bounds
10 }
11
12 fn main() {}