fork/rust
git clone https://git.julia.blue/fork/rust
3bcad65fbf6
master
1error[E0369]: cannot multiply `Thing` by `{integer}` 2 --> $DIR/issue-3820.rs:14:15 3 | 4LL | let w = u * 3; 5 | - ^ - {integer} 6 | | 7 | Thing 8 | 9note: an implementation of `Mul<{integer}>` might be missing for `Thing` 10 --> $DIR/issue-3820.rs:1:1 11 | 12LL | struct Thing { 13 | ^^^^^^^^^^^^ must implement `Mul<{integer}>` 14note: the trait `Mul` must be implemented 15 --> $SRC_DIR/core/src/ops/arith.rs:LL:COL 16 17error: aborting due to previous error 18 19For more information about this error, try `rustc --explain E0369`.