rust/compiler/rustc_pattern_analysis
Trevor Gross 3f7d497c8a
Rollup merge of #144171 - Nadrieril:exhaustive-witnesses, r=davidtwco
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
2025-07-26 01:15:04 -05:00
..
src Rollup merge of #144171 - Nadrieril:exhaustive-witnesses, r=davidtwco 2025-07-26 01:15:04 -05:00
tests Silence a warning 2025-07-20 18:27:30 +02:00
Cargo.toml Revert "Use workspace lints for crates in compiler/ #138084" 2025-03-10 18:12:47 +08:00
messages.ftl error early when mixing deref patterns with normal constructors 2025-05-06 18:53:55 -07:00