rust/tests/ui/associated-consts/issue-93835.rs

13 lines
303 B
Rust
Raw Normal View History

#![feature(type_ascription)]
2022-02-10 10:00:54 -06:00
fn e() {
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
//~| ERROR cannot find trait `p` in this scope
2022-02-10 10:00:54 -06:00
//~| ERROR associated type bounds
}
fn main() {}