]> git.lizzy.rs Git - rust.git/blob - tests/ui/erasing_op.rs
iterate List by value
[rust.git] / tests / ui / erasing_op.rs
1 #[allow(clippy::no_effect)]
2 #[warn(clippy::erasing_op)]
3 fn main() {
4     let x: u8 = 0;
5
6     x * 0;
7     0 & x;
8     0 / x;
9 }