]> git.lizzy.rs Git - rust.git/blob - src/test/ui/issues/issue-28344.stderr
Various minor/cosmetic improvements to code
[rust.git] / src / test / ui / issues / issue-28344.stderr
1 error[E0191]: the value of the associated type `Output` (from the trait `std::ops::BitXor`) must be specified
2   --> $DIR/issue-28344.rs:14:17
3    |
4 LL |     let x: u8 = BitXor::bitor(0 as u8, 0 as u8);
5    |                 ^^^^^^^^^^^^^ associated type `Output` must be specified
6
7 error[E0599]: no function or associated item named `bitor` found for type `dyn std::ops::BitXor<_>` in the current scope
8   --> $DIR/issue-28344.rs:14: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    |
15    = help: did you mean `bitxor`?
16
17 error[E0191]: the value of the associated type `Output` (from the trait `std::ops::BitXor`) must be specified
18   --> $DIR/issue-28344.rs:18:13
19    |
20 LL |     let g = BitXor::bitor;
21    |             ^^^^^^^^^^^^^ associated type `Output` must be specified
22
23 error[E0599]: no function or associated item named `bitor` found for type `dyn std::ops::BitXor<_>` in the current scope
24   --> $DIR/issue-28344.rs:18:21
25    |
26 LL |     let g = BitXor::bitor;
27    |             --------^^^^^
28    |             |
29    |             function or associated item not found in `dyn std::ops::BitXor<_>`
30    |
31    = help: did you mean `bitxor`?
32
33 error: aborting due to 4 previous errors
34
35 Some errors occurred: E0191, E0599.
36 For more information about an error, try `rustc --explain E0191`.