2022-11-19 15:11:00 -06:00
|
|
|
#![feature(type_ascription)]
|
|
|
|
|
2022-02-10 10:00:54 -06:00
|
|
|
fn e() {
|
2022-11-19 15:11:00 -06:00
|
|
|
type_ascribe!(p, a<p:p<e=6>>);
|
|
|
|
//~^ ERROR cannot find type `a` in this scope
|
2022-02-10 10:00:54 -06:00
|
|
|
//~| ERROR cannot find value
|
|
|
|
//~| ERROR associated const equality
|
2022-11-19 15:11:00 -06:00
|
|
|
//~| ERROR cannot find trait `p` in this scope
|
2022-02-10 10:00:54 -06:00
|
|
|
//~| ERROR associated type bounds
|
|
|
|
}
|
|
|
|
|
|
|
|
fn main() {}
|