]> git.lizzy.rs Git - rust.git/blob - src/test/ui/binary-op-on-double-ref.stderr
Auto merge of #54720 - davidtwco:issue-51191, r=nikomatsakis
[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    = help: `%` can be used on '{integer}', you can dereference `x`: `*x`
8
9 error: aborting due to previous error
10
11 For more information about this error, try `rustc --explain E0369`.