summaryrefslogtreecommitdiffstats
path: root/tests/ui/resolve/unresolved_static_type_field.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/resolve/unresolved_static_type_field.stderr')
-rw-r--r--tests/ui/resolve/unresolved_static_type_field.stderr5
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/ui/resolve/unresolved_static_type_field.stderr b/tests/ui/resolve/unresolved_static_type_field.stderr
index 06926b53d..035dc9b96 100644
--- a/tests/ui/resolve/unresolved_static_type_field.stderr
+++ b/tests/ui/resolve/unresolved_static_type_field.stderr
@@ -1,8 +1,11 @@
error[E0425]: cannot find value `cx` in this scope
--> $DIR/unresolved_static_type_field.rs:9:11
|
+LL | cx: bool,
+ | -------- a field by that name exists in `Self`
+...
LL | f(cx);
- | ^^ a field by this name exists in `Self`
+ | ^^
error: aborting due to previous error