about summary refs log tree commit diff
path: root/tests/ui/parallel-rustc/undefined-function-issue-120760.stderr
blob: 87af537221927b6cd158560a16b528cd38764564 (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
35
error[E0261]: use of undeclared lifetime name `'a`
  --> $DIR/undefined-function-issue-120760.rs:20:16
   |
LL |     pub name: &'a str,
   |                ^^ undeclared lifetime
   |
help: consider introducing lifetime `'a` here
   |
LL | pub struct User<'a, 'dep> {
   |                 +++

error[E0425]: cannot find function `run` in this scope
  --> $DIR/undefined-function-issue-120760.rs:14:5
   |
LL |     run("dependency").await;
   |     ^^^ not found in this scope

error[E0425]: cannot find function `run` in this scope
  --> $DIR/undefined-function-issue-120760.rs:61:17
   |
LL |         let _ = run("dependency").await;
   |                 ^^^ not found in this scope

error[E0560]: struct `User<'_>` has no field named `dep`
  --> $DIR/undefined-function-issue-120760.rs:70:12
   |
LL |     User { dep }.save().await;
   |            ^^^ `User<'_>` does not have this field
   |
   = note: available fields are: `name`

error: aborting due to 4 previous errors

Some errors have detailed explanations: E0261, E0425, E0560.
For more information about an error, try `rustc --explain E0261`.