]> git.lizzy.rs Git - rust.git/blob - src/test/ui/parser/issue-17383.stderr
Account for cases where we can find the type arg name, but the local name is `_`
[rust.git] / src / test / ui / parser / issue-17383.stderr
1 error: custom discriminant values are not allowed in enums with fields
2   --> $DIR/issue-17383.rs:2:9
3    |
4 LL |     A = 3,
5    |         ^ invalid custom discriminant
6 LL |
7 LL |     B(usize)
8    |     -------- variant with a field defined here
9
10 error: aborting due to previous error
11