blob: d6c2acaa9edce22007436ad16bfbc11676b06a29 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
#![feature(type_ascription)]
fn e() {
type_ascribe!(p, a<p:p<e=6>>);
//~^ ERROR cannot find type `a` in this scope
//~| ERROR cannot find value
//~| ERROR associated const equality
//~| ERROR cannot find trait `p` in this scope
//~| ERROR associated const equality
}
fn main() {}
|