diff options
| author | Camelid <camelidcamel@gmail.com> | 2021-01-12 19:06:20 -0800 |
|---|---|---|
| committer | Camelid <camelidcamel@gmail.com> | 2021-01-12 19:25:51 -0800 |
| commit | d7307a71f5e1893f7bd69ff160ce38dc97b5d195 (patch) | |
| tree | 1f1420c5ef30d71a7778ce0ca140ef27f1e2e75d /src/test/ui/error-codes | |
| parent | 1bce77576964e069833edb1b3b6ca5baa68ae65e (diff) | |
| download | rust-d7307a71f5e1893f7bd69ff160ce38dc97b5d195.tar.gz rust-d7307a71f5e1893f7bd69ff160ce38dc97b5d195.zip | |
Always show suggestions in their own subwindows
Diffstat (limited to 'src/test/ui/error-codes')
| -rw-r--r-- | src/test/ui/error-codes/E0023.stderr | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/src/test/ui/error-codes/E0023.stderr b/src/test/ui/error-codes/E0023.stderr index 0c6f496cf43..832eba69722 100644 --- a/src/test/ui/error-codes/E0023.stderr +++ b/src/test/ui/error-codes/E0023.stderr @@ -5,10 +5,12 @@ LL | Apple(String, String), | --------------------- tuple variant defined here ... LL | Fruit::Apple(a) => {}, - | ^^^^^^^^^^^^^^- - | | | - | | help: use `_` to explicitly ignore each field - | expected 2 fields, found 1 + | ^^^^^^^^^^^^^^^ expected 2 fields, found 1 + | +help: use `_` to explicitly ignore each field + | +LL | Fruit::Apple(a, _) => {}, + | ^^^ error[E0023]: this pattern has 3 fields, but the corresponding tuple variant has 2 fields --> $DIR/E0023.rs:12:9 |
