diff options
| author | bors <bors@rust-lang.org> | 2017-10-28 16:15:17 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2017-10-28 16:15:17 +0000 |
| commit | 2e6a1a9fb49f30e41316fb374b12301a3445ae8d (patch) | |
| tree | 862d68e4d973e86a543a089b99ce776df8b1b945 /src/test/compile-fail | |
| parent | dce604a8fe85c22beb53d99c609d88e3a0ca9320 (diff) | |
| parent | 014100df49a9f6926a52ecd4576b99e11a42033b (diff) | |
| download | rust-2e6a1a9fb49f30e41316fb374b12301a3445ae8d.tar.gz rust-2e6a1a9fb49f30e41316fb374b12301a3445ae8d.zip | |
Auto merge of #45489 - oli-obk:json_diagnostics, r=petrochenkov
Fix a quadradic duplication in json for multi-suggestions r? @petrochenkov
Diffstat (limited to 'src/test/compile-fail')
| -rw-r--r-- | src/test/compile-fail/issue-27842.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/compile-fail/issue-27842.rs b/src/test/compile-fail/issue-27842.rs index 8c71761df2f..eb28e36dc07 100644 --- a/src/test/compile-fail/issue-27842.rs +++ b/src/test/compile-fail/issue-27842.rs @@ -14,7 +14,7 @@ fn main() { let _ = tup[0]; //~^ ERROR cannot index into a value of type //~| HELP to access tuple elements, use - //~| SUGGESTION let _ = tup.0 + //~| SUGGESTION tup.0 // the case where we show just a general hint let i = 0_usize; |
