tests/derive_ref/fails/noderive.stderr
raw| 1 | error[E0080]: evaluation of constant value failed |
| 2 | --> tests/derive_ref/fails/noderive.rs:27:5 |
| 3 | | |
| 4 | 27 | const_assert!(impls!(&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) |