rust/compiler
Matthias Krüger f04d068adc
Rollup merge of #123242 - Nadrieril:require-contiguous-enum-indices, r=compiler-errors
pattern analysis: Require enum indices to be contiguous

We had a cfg-hack to allow rust-analyzer to use non-contiguous indices for its enum variants. Unfortunately this no longer works if r-a uses the in-tree version of the crate.

This PR removes the hack, and on the r-a side we'll have to use contiguous indices but that's not too hard.

r? `@compiler-errors`
2024-03-31 11:50:41 +02:00
..
2024-03-27 09:53:23 -04:00
2024-03-30 11:13:33 -04:00
2024-03-30 11:13:33 -04:00
2024-03-30 17:39:43 +03:00