aboutsummaryrefslogtreecommitdiff
path: root/crates/ide_diagnostics/src/handlers/no_such_field.rs
diff options
context:
space:
mode:
Diffstat (limited to 'crates/ide_diagnostics/src/handlers/no_such_field.rs')
-rw-r--r--crates/ide_diagnostics/src/handlers/no_such_field.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/crates/ide_diagnostics/src/handlers/no_such_field.rs b/crates/ide_diagnostics/src/handlers/no_such_field.rs
index e4cc8a840..92e8867f4 100644
--- a/crates/ide_diagnostics/src/handlers/no_such_field.rs
+++ b/crates/ide_diagnostics/src/handlers/no_such_field.rs
@@ -119,11 +119,11 @@ struct S { foo: i32, bar: () }
119impl S { 119impl S {
120 fn new() -> S { 120 fn new() -> S {
121 S { 121 S {
122 //^ Missing structure fields: 122 //^ 💡 error: missing structure fields:
123 //| - bar 123 //| - bar
124 foo: 92, 124 foo: 92,
125 baz: 62, 125 baz: 62,
126 //^^^^^^^ no such field 126 //^^^^^^^ 💡 error: no such field
127 } 127 }
128 } 128 }
129} 129}