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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

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() {}