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