about summary refs log tree commit diff
path: root/tests/ui/methods/issues/issue-105732.stderr
blob: 93ce695f27b84ff171e8c8dcd67175a226f481f1 (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
error[E0380]: auto traits cannot have associated items
  --> $DIR/issue-105732.rs:4:8
   |
LL | auto trait Foo {
   |            --- auto traits cannot have associated items
LL |     fn g(&self);
   |        ^

error[E0599]: no method named `g` found for reference `&Self` in the current scope
  --> $DIR/issue-105732.rs:10:14
   |
LL |         self.g();
   |              ^
   |
help: there is a method `f` with a similar name
   |
LL -         self.g();
LL +         self.f();
   |

error: aborting due to 2 previous errors

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