fork/rust

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

borsAuto merge of #72883 - Mark-Simulacrum:stable-next, r=Mark-Simulacrum49cae55760d

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