rust/compiler/rustc_mir_transform
Matthias Krüger eac149368b
Rollup merge of #98235 - liuw:mir-gen-drop-magic-value, r=davidtwco
Drop magic value 3 from code

Magic value 3 is used to create state for a yield point. It is in fact
the number of reserved variants.

Lift RESERVED_VARIANTS out to module scope and use it instead.
2022-06-20 20:13:09 +02:00
..
src Rollup merge of #98235 - liuw:mir-gen-drop-magic-value, r=davidtwco 2022-06-20 20:13:09 +02:00
Cargo.toml remove currently unused deps 2022-06-13 22:20:51 +03:00