]> git.lizzy.rs Git - rust.git/blob - src/test/ui/resolve/unresolved_static_type_field.stderr
reorder span labels
[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:19:11
3    |
4 19 |         f(cx);
5    |           ^^
6    |           |
7    |           `self` value is only available in methods with `self` parameter
8    |           help: try: `self.cx`
9
10 error: aborting due to previous error
11