about summary refs log tree commit diff
path: root/tests/ui/associated-types/associated-type-call.stderr
blob: eaef775e30406320a2380f35ab603a12d8ff832a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
error[E0599]: no associated item named `Assoc` found for unit type `()` in the current scope
  --> $DIR/associated-type-call.rs:17:17
   |
LL |         <Self>::Assoc();
   |                 ^^^^^ associated item not found in `()`
   |
help: to construct a value of type `T`, use the explicit path
   |
LL -         <Self>::Assoc();
LL +         T();
   |

error: aborting due to 1 previous error

For more information about this error, try `rustc --explain E0599`.