rust/tests/ui/resolve/dont-compute-arg-names-for-non-fn.stderr
2024-09-07 07:38:22 -04:00

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`.