summaryrefslogtreecommitdiffstats
path: root/src/test/ui/generic-associated-types/empty_generics.rs
blob: 772b7f2b4e3012e8cbc100161abd5fd563ab6045 (plain)
1
2
3
4
5
6
7
8
#![feature(generic_associated_types)]

trait Foo {
    type Bar<,>;
    //~^ ERROR expected one of `#`, `>`, `const`, identifier, or lifetime, found `,`
}

fn main() {}