summary refs log tree commit diff
path: root/src/test/ui/binary-op-on-double-ref.stderr
blob: 4a2490bac91ab8b253066bd142037e9d984b1f64 (plain)
1
2
3
4
5
6
7
8
9
10
11
error[E0369]: binary operation `%` cannot be applied to type `&&{integer}`
  --> $DIR/binary-op-on-double-ref.rs:14:9
   |
14 |         x % 2 == 0
   |         ^^^^^
   |
   = note: this is a reference to a type that `%` can be applied to; you need to dereference this variable once for this operation to work
   = note: an implementation of `std::ops::Rem` might be missing for `&&{integer}`

error: aborting due to previous error