error[E0425]: cannot find value `cx` in this scope
  --> $DIR/unresolved_static_type_field.rs:9:11
   |
LL |         f(cx);
   |           ^^ a field by this name exists in `Self`

error: aborting due to previous error

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