]> git.lizzy.rs Git - rust.git/blob - src/test/ui/tag-type-args.stderr
Merge commit '48d60ab7c505c6c1ebb042eacaafd8dc9f7a9267' into libgccjit-codegen
[rust.git] / src / test / ui / tag-type-args.stderr
1 error[E0107]: missing generics for enum `Quux`
2   --> $DIR/tag-type-args.rs:3:11
3    |
4 LL | fn foo(c: Quux) { assert!((false)); }
5    |           ^^^^ expected 1 generic argument
6    |
7 note: enum defined here, with 1 generic parameter: `T`
8   --> $DIR/tag-type-args.rs:1:6
9    |
10 LL | enum Quux<T> { Bar }
11    |      ^^^^ -
12 help: add missing generic argument
13    |
14 LL | fn foo(c: Quux<T>) { assert!((false)); }
15    |           ^^^^^^^
16
17 error: aborting due to previous error
18
19 For more information about this error, try `rustc --explain E0107`.