]> git.proxmox.com Git - rustc.git/blame - src/tools/clippy/tests/ui/erasing_op.rs
Update upstream source from tag 'upstream/1.52.1+dfsg1'
[rustc.git] / src / tools / clippy / tests / ui / erasing_op.rs
CommitLineData
f20569fa
XL
1#[allow(clippy::no_effect)]
2#[warn(clippy::erasing_op)]
3fn main() {
4 let x: u8 = 0;
5
6 x * 0;
7 0 & x;
8 0 / x;
9}