diff options
| author | bors <bors@rust-lang.org> | 2022-08-04 16:39:22 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2022-08-04 16:39:22 +0000 |
| commit | 7410ebb8f69516d0034cc99793bc3dcbc84d4a9b (patch) | |
| tree | 3a94fafcfbd51509a8f64b1e8308bcf8f6c52cae /compiler/rustc_mir_transform/src/shim.rs | |
| parent | 12c5b1ef3882fa824a7dc6054f9f15732b44c863 (diff) | |
| parent | 29ce4d51a8b173aba8e0f404c78b6f8990ec065b (diff) | |
| download | rust-7410ebb8f69516d0034cc99793bc3dcbc84d4a9b.tar.gz rust-7410ebb8f69516d0034cc99793bc3dcbc84d4a9b.zip | |
Auto merge of #99965 - RalfJung:ctfe-number-prov, r=eddyb
allow numbers with provenance within CTFE execution This effectively reverts https://github.com/rust-lang/rust/pull/97684 for CTFE. Undoes the diagnostic changes that are tracked in https://github.com/rust-lang/rust/issues/99923, only for beta. (On master this patch wouldn't apply any more, `enforce_number_no_provenance` is gone with https://github.com/rust-lang/rust/pull/99644 since the interpreter engine is not supposed to ever have provenance on integers.) The test changes are an exact un-do of https://github.com/rust-lang/rust/pull/97684. However there is still some risk here since this exact code is not what has been battle-tested. r? `@Mark-Simulacrum`
Diffstat (limited to 'compiler/rustc_mir_transform/src/shim.rs')
0 files changed, 0 insertions, 0 deletions
