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