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