Debian Codegraph @

tests/derive_mut/fails/noderive.stderr

raw
1 error[E0080]: evaluation of constant value failed
2 --> tests/derive_mut/fails/noderive.rs:21:5
3 |
4 21 | const_assert!(impls!(&mut AtomicCounter: Counter));
5 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ attempt to compute `0_usize - 1_usize`, which would overflow
6 |
7 = note: this error originates in the macro `const_assert` (in Nightly builds, run with -Z macro-backtrace for more info)