]> git.lizzy.rs Git - rust.git/blob - src/test/ui/binary-op-on-double-ref.stderr
Rollup merge of #48959 - alexcrichton:signext, r=eddyb
[rust.git] / src / test / ui / binary-op-on-double-ref.stderr
1 error[E0369]: binary operation `%` cannot be applied to type `&&{integer}`
2   --> $DIR/binary-op-on-double-ref.rs:14:9
3    |
4 LL |         x % 2 == 0
5    |         ^^^^^
6    |
7    = 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
8    = note: an implementation of `std::ops::Rem` might be missing for `&&{integer}`
9
10 error: aborting due to previous error
11
12 For more information about this error, try `rustc --explain E0369`.