diff options
Diffstat (limited to '')
-rw-r--r-- | src/test/ui/tag-type-args.rs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/test/ui/tag-type-args.rs b/src/test/ui/tag-type-args.rs new file mode 100644 index 000000000..660d860ba --- /dev/null +++ b/src/test/ui/tag-type-args.rs @@ -0,0 +1,5 @@ +enum Quux<T> { Bar } + +fn foo(c: Quux) { assert!((false)); } //~ ERROR missing generics for enum `Quux` + +fn main() { panic!(); } |