]> git.proxmox.com Git - rustc.git/blob - tests/ui/tag-type-args.stderr
New upstream version 1.68.2+dfsg1
[rustc.git] / tests / 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`.