2023-01-18 19:58:50 +09:00
|
|
|
error[E0599]: no method named `quux` found for struct `Foo` in the current scope
|
|
|
|
--> $DIR/method-not-found-but-doc-alias.rs:9:9
|
|
|
|
|
|
|
|
|
LL | struct Foo;
|
|
|
|
| ---------- method `quux` not found for this struct
|
|
|
|
...
|
|
|
|
LL | Foo.quux();
|
2024-02-10 03:37:08 +00:00
|
|
|
| ^^^^
|
|
|
|
|
|
2024-02-14 18:23:01 +00:00
|
|
|
help: there is a method `bar` with a similar name
|
2024-02-10 03:37:08 +00:00
|
|
|
|
|
|
|
|
LL | Foo.bar();
|
|
|
|
| ~~~
|
2023-01-18 19:58:50 +09:00
|
|
|
|
2023-11-21 15:44:16 +00:00
|
|
|
error: aborting due to 1 previous error
|
2023-01-18 19:58:50 +09:00
|
|
|
|
|
|
|
For more information about this error, try `rustc --explain E0599`.
|