about summary refs log tree commit diff
path: root/tests/ui/typeck/issue-91267.rs
blob: 1bffa09e643604b0390df1b958eac2e64c6ed158 (plain)
1
2
3
4
5
6
7
8
#![feature(type_ascription)]

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