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 82e05d5 commit f0924a2Copy full SHA for f0924a2
bitfield/tests/09-variant-out-of-range.stderr
@@ -5,3 +5,11 @@ error[E0277]: the trait bound `bitfield::checks::False: bitfield::checks::Discri
5
| ^^^^^^^^ the trait `bitfield::checks::DiscriminantInRange` is not implemented for `bitfield::checks::False`
6
|
7
= help: the trait `bitfield::checks::DiscriminantInRange` is implemented for `bitfield::checks::True`
8
+
9
+error: could not evaluate constant pattern
10
+ --> tests/09-variant-out-of-range.rs:8:10
11
+ |
12
+8 | #[derive(BitfieldSpecifier)]
13
+ | ^^^^^^^^^^^^^^^^^
14
15
+ = note: this error originates in the derive macro `BitfieldSpecifier` (in Nightly builds, run with -Z macro-backtrace for more info)
0 commit comments