error: any use of this value will cause an error
- --> $DIR/issue-50814.rs:13:5
+ --> $DIR/issue-50814.rs:13:21
|
LL | const MAX: u8 = A::MAX + B::MAX;
- | ^^^^^^^^^^^^^^^^---------------^
+ | ----------------^^^^^^^^^^^^^^^-
| |
| attempt to add with overflow
|