forked from bitflags/bitflags
/
multi.stderr.beta
35 lines (34 loc) · 1.08 KB
/
multi.stderr.beta
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
error[E0428]: the name `FOO` is defined multiple times
--> $DIR/multi.rs:6:1
|
6 | / bitflags! {
7 | | pub struct Flags: u32 {
8 | | #[cfg(target_os = "linux")]
9 | | const FOO = 1;
... |
12 | | }
13 | | }
| | ^
| | |
| |_`FOO` redefined here
| previous definition of the value `FOO` here
|
= note: `FOO` must be defined only once in the value namespace of this trait
= note: this error originates in the macro `__impl_bitflags` (in Nightly builds, run with -Z macro-backtrace for more info)
error[E0428]: the name `FOO` is defined multiple times
--> $DIR/multi.rs:6:1
|
6 | / bitflags! {
7 | | pub struct Flags: u32 {
8 | | #[cfg(target_os = "linux")]
9 | | const FOO = 1;
... |
12 | | }
13 | | }
| | ^
| | |
| |_`FOO` redefined here
| previous definition of the value `FOO` here
|
= note: `FOO` must be defined only once in the value namespace of this trait
= note: this error originates in the macro `__impl_all_bitflags` (in Nightly builds, run with -Z macro-backtrace for more info)