]> git.proxmox.com Git - rustc.git/blame - src/test/ui/typeck/issue-81293.stderr
Update unsuspicious file list
[rustc.git] / src / test / ui / typeck / issue-81293.stderr
CommitLineData
5869c6ff
XL
1error[E0308]: mismatched types
2 --> $DIR/issue-81293.rs:6:13
3 |
4LL | a = c + b * 5;
5 | ^^^^^ expected `usize`, found `u16`
6
7error[E0308]: mismatched types
8 --> $DIR/issue-81293.rs:6:9
9 |
3c0e092e
XL
10LL | let a: u16;
11 | --- expected due to this type
12...
5869c6ff
XL
13LL | a = c + b * 5;
14 | ^^^^^^^^^ expected `u16`, found `usize`
15
16error[E0277]: cannot add `u16` to `usize`
17 --> $DIR/issue-81293.rs:6:11
18 |
19LL | a = c + b * 5;
20 | ^ no implementation for `usize + u16`
21 |
22 = help: the trait `Add<u16>` is not implemented for `usize`
04454e1e 23 = help: the following other types implement trait `Add<Rhs>`:
487cf647
FG
24 <&'a usize as Add<usize>>
25 <&usize as Add<&usize>>
26 <usize as Add<&usize>>
27 <usize as Add>
5869c6ff
XL
28
29error: aborting due to 3 previous errors
30
31Some errors have detailed explanations: E0277, E0308.
32For more information about an error, try `rustc --explain E0277`.