]> git.lizzy.rs Git - rust.git/blob - src/test/ui/issues/issue-28344.stderr
Update const_forget.rs
[rust.git] / src / test / ui / issues / issue-28344.stderr
1 error[E0191]: the value of the associated type `Output` (from trait `std::ops::BitXor`) must be specified
2   --> $DIR/issue-28344.rs:4:17
3    |
4 LL |     let x: u8 = BitXor::bitor(0 as u8, 0 as u8);
5    |                 ^^^^^^ help: specify the associated type: `BitXor<Output = Type>`
6
7 error[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    |
10 LL |     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 a method with a similar name: `bitxor`
15
16 error[E0191]: the value of the associated type `Output` (from trait `std::ops::BitXor`) must be specified
17   --> $DIR/issue-28344.rs:8:13
18    |
19 LL |     let g = BitXor::bitor;
20    |             ^^^^^^ help: specify the associated type: `BitXor<Output = Type>`
21
22 error[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    |
25 LL |     let g = BitXor::bitor;
26    |                     ^^^^^
27    |                     |
28    |                     function or associated item not found in `dyn std::ops::BitXor<_>`
29    |                     help: there is a method with a similar name: `bitxor`
30
31 error: aborting due to 4 previous errors
32
33 Some errors have detailed explanations: E0191, E0599.
34 For more information about an error, try `rustc --explain E0191`.