]> git.lizzy.rs Git - rust.git/blob - src/test/ui/generic-associated-types/empty_generics.rs
Rollup merge of #70038 - DutchGhost:const-forget-tests, r=RalfJung
[rust.git] / src / test / ui / generic-associated-types / empty_generics.rs
1 #![allow(incomplete_features)]
2 #![feature(generic_associated_types)]
3
4 trait Foo {
5     type Bar<,>;
6     //~^ ERROR expected one of `#`, `>`, `const`, identifier, or lifetime, found `,`
7 }
8
9 fn main() {}