diff options
| author | Michael Goulet <michael@errs.io> | 2023-06-05 20:59:41 +0000 |
|---|---|---|
| committer | Michael Goulet <michael@errs.io> | 2023-06-05 21:00:08 +0000 |
| commit | 140c011ca6659e608833bdc31b66b0f53d11104e (patch) | |
| tree | c406dacdd549b72253f4515a2eb19cc1c1f7bca6 /tests/ui/error-codes | |
| parent | 408bbd040613f6776e0a7d05d582c81f4ddc189a (diff) | |
| download | rust-140c011ca6659e608833bdc31b66b0f53d11104e.tar.gz rust-140c011ca6659e608833bdc31b66b0f53d11104e.zip | |
Don't mention already set fields
Diffstat (limited to 'tests/ui/error-codes')
| -rw-r--r-- | tests/ui/error-codes/E0560.stderr | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/ui/error-codes/E0560.stderr b/tests/ui/error-codes/E0560.stderr index 6b634f1855d..bb5ce478ae1 100644 --- a/tests/ui/error-codes/E0560.stderr +++ b/tests/ui/error-codes/E0560.stderr @@ -4,7 +4,7 @@ error[E0560]: struct `Simba` has no field named `father` LL | let s = Simba { mother: 1, father: 0 }; | ^^^^^^ `Simba` does not have this field | - = note: available fields are: `mother` + = note: all struct fields are already assigned error: aborting due to previous error |
