aboutsummaryrefslogtreecommitdiff
path: root/crates/ide_diagnostics/src/handlers/no_such_field.rs
diff options
context:
space:
mode:
authorAleksey Kladov <[email protected]>2021-06-14 20:06:28 +0100
committerAleksey Kladov <[email protected]>2021-06-14 20:37:06 +0100
commit4cfc767d7fadeab025227d67f104065c9e8a55d3 (patch)
treec27828dbb75ab3b9bdc8c5648a9b69b6a28378d0 /crates/ide_diagnostics/src/handlers/no_such_field.rs
parent58712088ac2114e41d754ec6bcb5cd6bc3625256 (diff)
internal: test diagnostic severeties and presense of fixes
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}