]> git.proxmox.com Git - rustc.git/blame - src/test/ui/issues/issue-28344.stderr
New upstream version 1.44.1+dfsg1
[rustc.git] / src / test / ui / issues / issue-28344.stderr
CommitLineData
dfeec247 1error[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 |
4LL | let x: u8 = BitXor::bitor(0 as u8, 0 as u8);
dfeec247 5 | ^^^^^^ help: specify the associated type: `BitXor<Output = Type>`
8faf50e0 6
dfeec247 7error[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 |
10LL | 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 16error[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 |
19LL | let g = BitXor::bitor;
dfeec247 20 | ^^^^^^ help: specify the associated type: `BitXor<Output = Type>`
8faf50e0 21
dfeec247 22error[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 |
25LL | 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
31error: aborting due to 4 previous errors
32
48663c56 33Some errors have detailed explanations: E0191, E0599.
8faf50e0 34For more information about an error, try `rustc --explain E0191`.