about summary refs log tree commit diff
path: root/tests/ui/deref-patterns/deref-non-pointer.stderr
blob: 3ee354819e5d665ad6a814ebc9db988d3e53e735 (plain)
1
2
3
4
5
6
7
8
9
error[E0614]: type `{integer}` cannot be dereferenced
  --> $DIR/deref-non-pointer.rs:2:9
   |
LL |   match *1 {
   |         ^^ can't be dereferenced

error: aborting due to 1 previous error

For more information about this error, try `rustc --explain E0614`.