pattern_analysis: add option to get a full set of witnesses This adds an option to the rustc_pattern_analysis machinery to have it report a complete set of patterns when a match is non-exhaustive (by default we only guarantee to report _some_ missing patterns). This is for use in rust-analyzer. Leaving as draft until I'm sure this is what r-a needs. r? ghost |
||
|---|---|---|
| .. | ||
| rustc | ||
| checks.rs | ||
| constructor.rs | ||
| errors.rs | ||
| lib.rs | ||
| lints.rs | ||
| pat.rs | ||
| pat_column.rs | ||
| rustc.rs | ||
| usefulness.rs | ||