diff options
| author | bors <bors@rust-lang.org> | 2022-05-27 11:31:37 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2022-05-27 11:31:37 +0000 |
| commit | 56fd680cf9226ab424f88d4e3b43c5e088d17f19 (patch) | |
| tree | aa1cb6dee38662302ec1969d5d092ec733ac3396 /compiler/rustc_interface/src | |
| parent | 46147119ec545045948bc799581d93edd3b1617b (diff) | |
| parent | 4332c2fbbd47ecdcfb620a284254feed3367bec4 (diff) | |
| download | rust-56fd680cf9226ab424f88d4e3b43c5e088d17f19.tar.gz rust-56fd680cf9226ab424f88d4e3b43c5e088d17f19.zip | |
Auto merge of #96046 - oli-obk:const_typeck, r=cjgillot
Move various checks to typeck so them failing causes the typeck result to get tainted Fixes #69487 fixes #79047 cc `@RalfJung` this gets rid of the `Transmute` invalid program error variant
Diffstat (limited to 'compiler/rustc_interface/src')
| -rw-r--r-- | compiler/rustc_interface/src/passes.rs | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/compiler/rustc_interface/src/passes.rs b/compiler/rustc_interface/src/passes.rs index afbf48fceb5..e6c9c6693c5 100644 --- a/compiler/rustc_interface/src/passes.rs +++ b/compiler/rustc_interface/src/passes.rs @@ -937,7 +937,6 @@ fn analysis(tcx: TyCtxt<'_>, (): ()) -> Result<()> { // // maybe move the check to a MIR pass? tcx.ensure().check_mod_liveness(module); - tcx.ensure().check_mod_intrinsics(module); }); }); } |
