fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #103046 - JanBeh:PR_clarify_cmp_terminology, r=workingjubilee3bcad65fbf6

master
564 B19 linesraw
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`.