]> git.lizzy.rs Git - rust.git/blob - tests/ui/typeck/issue-91267.rs
Rollup merge of #106714 - Ezrashaw:remove-e0490, r=davidtwco
[rust.git] / tests / ui / typeck / issue-91267.rs
1 #![feature(type_ascription)]
2
3 fn main() {
4     type_ascribe!(0, u8<e<5>=e>)
5     //~^ ERROR: cannot find type `e` in this scope [E0412]
6     //~| ERROR: associated type bindings are not allowed here [E0229]
7     //~| ERROR: mismatched types [E0308]
8 }