]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/resolve/unresolved_static_type_field.stderr
Rollup merge of #87180 - notriddle:notriddle/sidebar-keyboard-mobile, r=GuillaumeGomez
[rust.git] / src / test / ui / resolve / unresolved_static_type_field.stderr
index a5173243787726492b5f9f2e89ddb616c42e6e87..06926b53ddd35e3eee1319df19a4a5f4b8e7dc8f 100644 (file)
@@ -2,10 +2,7 @@ error[E0425]: cannot find value `cx` in this scope
   --> $DIR/unresolved_static_type_field.rs:9:11
    |
 LL |         f(cx);
-   |           ^^
-   |           |
-   |           `self` value is a keyword only available in methods with `self` parameter
-   |           help: try: `self.cx`
+   |           ^^ a field by this name exists in `Self`
 
 error: aborting due to previous error