]>
Commit | Line | Data |
---|---|---|
dfeec247 | 1 | error[E0191]: the value of the associated type `Output` (from trait `std::ops::BitXor`) must be specified |
0731742a | 2 | --> $DIR/issue-28344.rs:4:17 |
8faf50e0 XL |
3 | | |
4 | LL | let x: u8 = BitXor::bitor(0 as u8, 0 as u8); | |
dfeec247 | 5 | | ^^^^^^ help: specify the associated type: `BitXor<Output = Type>` |
8faf50e0 | 6 | |
dfeec247 | 7 | error[E0599]: no function or associated item named `bitor` found for trait object `dyn std::ops::BitXor<_>` in the current scope |
0731742a | 8 | --> $DIR/issue-28344.rs:4:25 |
8faf50e0 XL |
9 | | |
10 | LL | let x: u8 = BitXor::bitor(0 as u8, 0 as u8); | |
532ac7d7 XL |
11 | | ^^^^^ |
12 | | | | |
13 | | function or associated item not found in `dyn std::ops::BitXor<_>` | |
ba9703b0 | 14 | | help: there is an associated function with a similar name: `bitxor` |
8faf50e0 | 15 | |
dfeec247 | 16 | error[E0191]: the value of the associated type `Output` (from trait `std::ops::BitXor`) must be specified |
0731742a | 17 | --> $DIR/issue-28344.rs:8:13 |
8faf50e0 XL |
18 | | |
19 | LL | let g = BitXor::bitor; | |
dfeec247 | 20 | | ^^^^^^ help: specify the associated type: `BitXor<Output = Type>` |
8faf50e0 | 21 | |
dfeec247 | 22 | error[E0599]: no function or associated item named `bitor` found for trait object `dyn std::ops::BitXor<_>` in the current scope |
0731742a | 23 | --> $DIR/issue-28344.rs:8:21 |
8faf50e0 XL |
24 | | |
25 | LL | let g = BitXor::bitor; | |
532ac7d7 XL |
26 | | ^^^^^ |
27 | | | | |
28 | | function or associated item not found in `dyn std::ops::BitXor<_>` | |
ba9703b0 | 29 | | help: there is an associated function with a similar name: `bitxor` |
8faf50e0 XL |
30 | |
31 | error: aborting due to 4 previous errors | |
32 | ||
48663c56 | 33 | Some errors have detailed explanations: E0191, E0599. |
8faf50e0 | 34 | For more information about an error, try `rustc --explain E0191`. |