summary refs log tree commit diff
path: root/src/test/ui/deref-non-pointer.stderr
blob: 3e0ea06123df94ad44d66c140ba7c510bfff8e8c (plain)
1
2
3
4
5
6
7
8
9
error[E0614]: type `{integer}` cannot be dereferenced
  --> $DIR/deref-non-pointer.rs:12:9
   |
LL |   match *1 { //~ ERROR: cannot be dereferenced
   |         ^^

error: aborting due to previous error

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