summaryrefslogtreecommitdiffstats
path: root/tests/ui/suggestions/issue-109396.stderr
blob: d4956872a399dc0ea95ff0ac845c0bf6175cbdf7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
error[E0423]: expected value, found macro `file`
  --> $DIR/issue-109396.rs:5:13
   |
LL |             file.as_raw_fd(),
   |             ^^^^ not a value

error[E0061]: this function takes 0 arguments but 4 arguments were supplied
  --> $DIR/issue-109396.rs:3:25
   |
LL |         let mut mutex = std::mem::zeroed(
   |                         ^^^^^^^^^^^^^^^^
LL |
LL |             file.as_raw_fd(),
   |             ---------------- unexpected argument
LL |
LL |             0,
   |             - unexpected argument of type `{integer}`
LL |             0,
   |             - unexpected argument of type `{integer}`
LL |             0,
   |             - unexpected argument of type `{integer}`
   |
note: function defined here
  --> $SRC_DIR/core/src/mem/mod.rs:LL:COL
help: remove the extra arguments
   |
LL -             file.as_raw_fd(),
LL +             );
   |

error: aborting due to 2 previous errors

Some errors have detailed explanations: E0061, E0423.
For more information about an error, try `rustc --explain E0061`.