mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-22 14:55:26 +00:00
21 lines
624 B
Plaintext
21 lines
624 B
Plaintext
error[E0425]: cannot find function `foo` in module `to_reuse`
|
|
--> $DIR/ice-issue-124342.rs:7:21
|
|
|
|
|
LL | reuse to_reuse::foo { foo }
|
|
| ^^^ not found in `to_reuse`
|
|
|
|
error[E0425]: cannot find value `foo` in this scope
|
|
--> $DIR/ice-issue-124342.rs:7:27
|
|
|
|
|
LL | reuse to_reuse::foo { foo }
|
|
| ^^^
|
|
|
|
|
help: you might have meant to refer to the associated function
|
|
|
|
|
LL | reuse to_reuse::foo { Self::foo }
|
|
| ++++++
|
|
|
|
error: aborting due to 2 previous errors
|
|
|
|
For more information about this error, try `rustc --explain E0425`.
|