2023-01-18 04:58:50 -06: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-09 21:37:08 -06:00
|
|
|
| ^^^^
|
|
|
|
|
|
2024-02-14 12:23:01 -06:00
|
|
|
help: there is a method `bar` with a similar name
|
2024-02-09 21:37:08 -06:00
|
|
|
|
|
|
|
|
LL | Foo.bar();
|
|
|
|
| ~~~
|
2023-01-18 04:58:50 -06:00
|
|
|
|
2023-11-21 09:44:16 -06:00
|
|
|
error: aborting due to 1 previous error
|
2023-01-18 04:58:50 -06:00
|
|
|
|
|
|
|
For more information about this error, try `rustc --explain E0599`.
|