diff options
Diffstat (limited to 'tests/ui/did_you_mean/issue-36798_unknown_field.stderr')
-rw-r--r-- | tests/ui/did_you_mean/issue-36798_unknown_field.stderr | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/ui/did_you_mean/issue-36798_unknown_field.stderr b/tests/ui/did_you_mean/issue-36798_unknown_field.stderr new file mode 100644 index 000000000..2ed0a0924 --- /dev/null +++ b/tests/ui/did_you_mean/issue-36798_unknown_field.stderr @@ -0,0 +1,11 @@ +error[E0609]: no field `zz` on type `Foo` + --> $DIR/issue-36798_unknown_field.rs:7:7 + | +LL | f.zz; + | ^^ unknown field + | + = note: available fields are: `bar` + +error: aborting due to previous error + +For more information about this error, try `rustc --explain E0609`. |