.cargo/vendor/bitflags-1.3.2/tests/compile-fail/non_integer_base/all_missing.stderr.beta
raw| 1 | error[E0204]: the trait `Copy` may not be implemented for this type |
| 2 | --> $DIR/all_missing.rs:5:1 |
| 3 | | |
| 4 | 5 | / bitflags! { |
| 5 | 6 | | struct Flags128: MyInt { |
| 6 | 7 | | const A = MyInt(0b0000_0001); |
| 7 | 8 | | const B = MyInt(0b0000_0010); |
| 8 | 9 | | const C = MyInt(0b0000_0100); |
| 9 | 10 | | } |
| 10 | 11 | | } |
| 11 | | |_^ this field does not implement `Copy` |
| 12 | | |
| 13 | = note: this error originates in the derive macro `Copy` (in Nightly builds, run with -Z macro-backtrace for more info) |