We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8205d5b commit aec9558Copy full SHA for aec9558
test_suite/ui/invalid_name_in_default.stderr
@@ -2,10 +2,12 @@ error[E0599]: no variant or associated item named `C` found for enum `Test` in t
2
--> ui/invalid_name_in_default.rs:3:26
3
|
4
3 | #[bitflags(default = A | C)]
5
- | ^
6
- | |
7
- | variant or associated item not found in `Test`
8
- | help: there is a variant with a similar name: `A`
+ | ^ variant or associated item not found in `Test`
9
...
10
6 | enum Test {
11
| --------- variant or associated item `C` not found for this enum
+ |
+help: there is a variant with a similar name
12
+3 | #[bitflags(default = A | A)]
13
+ | ~
0 commit comments