2019-12-10 22:03:13 +01:00
|
|
|
error[E0369]: cannot mod `&&{integer}` by `{integer}`
|
2019-03-27 13:13:09 -04:00
|
|
|
--> $DIR/binary-op-on-double-ref.rs:4:11
|
2017-12-10 22:47:55 +03:00
|
|
|
|
|
2018-02-23 03:42:32 +03:00
|
|
|
LL | x % 2 == 0
|
2019-03-27 13:13:09 -04:00
|
|
|
| - ^ - {integer}
|
|
|
|
| |
|
|
|
|
| &&{integer}
|
2017-12-10 22:47:55 +03:00
|
|
|
|
|
2018-05-09 12:38:09 +03:00
|
|
|
= help: `%` can be used on '{integer}', you can dereference `x`: `*x`
|
2017-12-10 22:47:55 +03:00
|
|
|
|
|
|
|
error: aborting due to previous error
|
|
|
|
|
2018-03-03 15:59:40 +01:00
|
|
|
For more information about this error, try `rustc --explain E0369`.
|