]> git.proxmox.com Git - rustc.git/blame - src/test/ui/issues/issue-5997-enum.stderr
New upstream version 1.65.0+dfsg1
[rustc.git] / src / test / ui / issues / issue-5997-enum.stderr
CommitLineData
9fa01778 1error[E0401]: can't use generic parameters from outer function
0731742a 2 --> $DIR/issue-5997-enum.rs:2:16
8faf50e0
XL
3 |
4LL | fn f<Z>() -> bool {
f2b60f7d 5 | - type parameter from outer function
8faf50e0 6LL | enum E { V(Z) }
f2b60f7d
FG
7 | - ^ use of generic parameter from outer function
8 | |
9 | help: try using a local generic parameter instead: `<Z>`
8faf50e0
XL
10
11error: aborting due to previous error
12
13For more information about this error, try `rustc --explain E0401`.