]> git.lizzy.rs Git - rust.git/blob - src/test/ui/resolve/unresolved_static_type_field.stderr
a5173243787726492b5f9f2e89ddb616c42e6e87
[rust.git] / src / test / ui / resolve / unresolved_static_type_field.stderr
1 error[E0425]: cannot find value `cx` in this scope
2   --> $DIR/unresolved_static_type_field.rs:9:11
3    |
4 LL |         f(cx);
5    |           ^^
6    |           |
7    |           `self` value is a keyword only available in methods with `self` parameter
8    |           help: try: `self.cx`
9
10 error: aborting due to previous error
11
12 For more information about this error, try `rustc --explain E0425`.