rust/src/test/ui/binary-op-on-double-ref.stderr

12 lines
351 B
Plaintext
Raw Normal View History

error[E0369]: binary operation `%` cannot be applied to type `&&{integer}`
2018-12-25 08:56:47 -07:00
--> $DIR/binary-op-on-double-ref.rs:4:9
|
2018-02-23 03:42:32 +03:00
LL | x % 2 == 0
| ^^^^^
|
2018-05-09 12:38:09 +03:00
= help: `%` can be used on '{integer}', you can dereference `x`: `*x`
error: aborting due to previous error
2018-03-03 15:59:40 +01:00
For more information about this error, try `rustc --explain E0369`.