1
Fork 0
rust/compiler/rustc_mir_build/src
Jonas Schievink e12e97223f
Rollup merge of #78072 - Nadrieril:cleanup-constant-matching, r=varkor
Cleanup constant matching in exhaustiveness checking

This supercedes https://github.com/rust-lang/rust/pull/77390. I made the `Opaque` constructor work.
I have opened two issues https://github.com/rust-lang/rust/issues/78071 and https://github.com/rust-lang/rust/issues/78057 from the discussion we had on the previous PR. They are not regressions nor directly related to the current PR so I thought we'd deal with them separately.

I left a FIXME somewhere because I didn't know how to compare string constants for equality. There might even be some unicode things that need to happen there. In the meantime I preserved previous behavior.

EDIT: I accidentally fixed #78071
2020-10-24 22:39:51 +02:00
..
build Auto merge of #77124 - spastorino:const-exprs-rfc-2920, r=oli-obk 2020-10-17 14:44:51 +00:00
thir Rollup merge of #78072 - Nadrieril:cleanup-constant-matching, r=varkor 2020-10-24 22:39:51 +02:00
lib.rs use array_windows instead of windows in the compiler 2020-09-20 08:11:05 +02:00
lints.rs Don't re-export std::ops::ControlFlow in the compiler. 2020-10-22 17:26:55 -07:00