about summary refs log tree commit diff
path: root/tests/ui/binop/multiply-is-deref-on-rhs.stderr
blob: e157f4f58ca042597011b7e869b38c142bc871cc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
error[E0369]: cannot multiply `()` by `&i32`
  --> $DIR/multiply-is-deref-on-rhs.rs:4:5
   |
LL |     x = ()
   |         -- ()
LL |     *y
   |     ^- &i32
   |
help: you might have meant to write a semicolon here
   |
LL |     x = ();
   |           +

error: aborting due to 1 previous error

For more information about this error, try `rustc --explain E0369`.