]> git.proxmox.com Git - rustc.git/blame - src/test/ui/suggestions/assoc_fn_without_self.stderr
Update unsuspicious file list
[rustc.git] / src / test / ui / suggestions / assoc_fn_without_self.stderr
CommitLineData
04454e1e
FG
1error[E0425]: cannot find function `foo` in this scope
2 --> $DIR/assoc_fn_without_self.rs:16:9
3 |
4LL | foo();
5 | ^^^ not found in this scope
6 |
7help: consider using the associated function
8 |
9LL | Self::foo();
487cf647 10 | ++++++
04454e1e
FG
11
12error[E0425]: cannot find function `bar` in this scope
13 --> $DIR/assoc_fn_without_self.rs:17:9
14 |
15LL | bar();
16 | ^^^ not found in this scope
487cf647
FG
17 |
18help: consider using the associated function
19 |
20LL | self.bar();
21 | +++++
04454e1e
FG
22
23error[E0425]: cannot find function `baz` in this scope
24 --> $DIR/assoc_fn_without_self.rs:18:9
25 |
26LL | baz(2, 3);
27 | ^^^ not found in this scope
28 |
29help: consider using the associated function
30 |
31LL | Self::baz(2, 3);
487cf647 32 | ++++++
04454e1e 33
2b03887a
FG
34error[E0425]: cannot find function `foo` in this scope
35 --> $DIR/assoc_fn_without_self.rs:14:13
36 |
37LL | foo();
38 | ^^^ not found in this scope
39
04454e1e
FG
40error: aborting due to 4 previous errors
41
42For more information about this error, try `rustc --explain E0425`.