rust/tests/ui/deref-non-pointer.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

6 lines
90 B
Rust
Raw Normal View History

fn main() {
match *1 { //~ ERROR: cannot be dereferenced
_ => { panic!(); }
}
}