]> git.lizzy.rs Git - rust.git/blob - src/test/ui/deref-non-pointer.rs
Merge commit '7ea7cd165ad6705603852771bf82cc2fd6560db5' into clippyup2
[rust.git] / src / test / ui / deref-non-pointer.rs
1 fn main() {
2   match *1 { //~ ERROR: cannot be dereferenced
3       _ => { panic!(); }
4   }
5 }