index
:
rust
this commit
auto
automation/bors/try
automation/bors/try-merge
beta
cargo_update
lcnr/rustc-dev-guide
master
perf-tmp
stable
try
try-perf
https://github.com/rust-lang/rust
about
summary
refs
log
tree
commit
diff
log msg
author
committer
range
path:
root
/
tests
/
ui
/
deref-non-pointer.rs
blob: 82ab355e697b257d649a0dd933723714a3d45f6a (
plain
)
1
2
3
4
5
fn
main
()
{
match
*
1
{
//~ ERROR: cannot be dereferenced
_
=>
{
panic!
();
}
}
}