]> git.lizzy.rs Git - rust.git/blob - src/test/ui/binop/binary-op-on-double-ref.stderr
Rollup merge of #92959 - asquared31415:test-non-fn-help, r=estebank
[rust.git] / src / test / ui / binop / binary-op-on-double-ref.stderr
1 error[E0369]: cannot mod `&&{integer}` by `{integer}`
2   --> $DIR/binary-op-on-double-ref.rs:5:11
3    |
4 LL |         x % 2 == 0
5    |         - ^ - {integer}
6    |         |
7    |         &&{integer}
8    |
9 help: `%` can be used on `{integer}`, you can dereference `x`
10    |
11 LL |         *x % 2 == 0
12    |         +
13
14 error: aborting due to previous error
15
16 For more information about this error, try `rustc --explain E0369`.