about summary refs log tree commit diff
path: root/tests/ui/resolve/dont-compute-arg-names-for-non-fn.stderr
blob: a1a8bb575e14adeb7edd33312a67fbd82d4a5bc3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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`.