rust/tests/ui/typeck/issue-91267.rs

9 lines
247 B
Rust

#![feature(type_ascription)]
fn main() {
type_ascribe!(0, u8<e<5>=e>)
//~^ ERROR: cannot find type `e` in this scope [E0412]
//~| ERROR: associated type bindings are not allowed here [E0229]
//~| ERROR: mismatched types [E0308]
}