mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-23 15:23:46 +00:00
15 lines
386 B
Plaintext
15 lines
386 B
Plaintext
error[E0412]: cannot find type `Bar` in this scope
|
|
--> $DIR/dont-compute-arg-names-for-non-fn.rs:8:14
|
|
|
|
|
LL | impl Foo for Bar {}
|
|
| ^^^
|
|
|
|
|
help: you might have meant to use the associated type
|
|
|
|
|
LL | impl Foo for Self::Bar {}
|
|
| ++++++
|
|
|
|
error: aborting due to 1 previous error
|
|
|
|
For more information about this error, try `rustc --explain E0412`.
|