Auto merge of #6988 - mikerite:fix-6984, r=camsteffen

Fix hidden variant suggestion on single variant

Fixes #6984

changelog: Fix hidden variant suggestion on `match_wildcard_for_single_variants`
This commit is contained in:
bors
2021-04-02 12:42:40 +00:00
7 changed files with 54 additions and 23 deletions

View File

@@ -21,7 +21,6 @@
// (Currently there is no way to opt into sysroot crates without `extern crate`.)
extern crate rustc_ast;
extern crate rustc_ast_pretty;
extern crate rustc_attr;
extern crate rustc_data_structures;
extern crate rustc_driver;
extern crate rustc_errors;