1 error: casting the result of `i32::abs()` to u32
2 --> $DIR/cast_abs_to_unsigned.rs:6:18
4 LL | let y: u32 = x.abs() as u32;
5 | ^^^^^^^^^^^^^^ help: replace with: `x.unsigned_abs()`
7 = note: `-D clippy::cast-abs-to-unsigned` implied by `-D warnings`
9 error: aborting due to previous error