1 error[E0600]: cannot apply unary operator `!` to type `BytePos`
2 --> $DIR/issue-14091-2.rs:15:5
5 | ^^^^^^^^^^^^^ cannot apply unary operator `!`
7 note: an implementation of `Not` might be missing for `BytePos`
8 --> $DIR/issue-14091-2.rs:6:1
10 LL | pub struct BytePos(pub u32);
11 | ^^^^^^^^^^^^^^^^^^ must implement `Not`
12 note: the following trait must be implemented
13 --> $SRC_DIR/core/src/ops/bit.rs:LL:COL
17 = note: this error originates in the macro `assert` (in Nightly builds, run with -Z macro-backtrace for more info)
19 error: aborting due to previous error
21 For more information about this error, try `rustc --explain E0600`.