summaryrefslogtreecommitdiffstats
path: root/tests/ui/typeck/issue-91267.rs
blob: 4e39cfab5b439b1f5656c16e5bdea02264303505 (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 type bindings are not allowed here [E0229]
    //~| ERROR: mismatched types [E0308]
}