about summary refs log tree commit diff
path: root/compiler/rustc_monomorphize/src/lib.rs
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2024-03-31 11:50:41 +0200
committerGitHub <noreply@github.com>2024-03-31 11:50:41 +0200
commitf04d068adc33c17249baf5ddef98548b514bf1ee (patch)
tree8357f158e380c634028eaf70d07c2924cefe0790 /compiler/rustc_monomorphize/src/lib.rs
parentd77608b4b9deeca2cf2041586322399dcfd78bad (diff)
parente1b8441899b87e52d0b368f55fc921ec668cde1f (diff)
downloadrust-f04d068adc33c17249baf5ddef98548b514bf1ee.tar.gz
rust-f04d068adc33c17249baf5ddef98548b514bf1ee.zip
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`
Diffstat (limited to 'compiler/rustc_monomorphize/src/lib.rs')
0 files changed, 0 insertions, 0 deletions