Rollup merge of #116277 - RalfJung:post-mono, r=oli-obk
dont call mir.post_mono_checks in codegen It seems like all tests are still passing when I remove this... let's see what CI says.
This commit is contained in:
commit
6d1c3a40cb
11 changed files with 32 additions and 81 deletions
|
@ -1426,6 +1426,8 @@ fn collect_used_items<'tcx>(
|
|||
);
|
||||
}
|
||||
|
||||
// Here we rely on the visitor also visiting `required_consts`, so that we evaluate them
|
||||
// and abort compilation if any of them errors.
|
||||
MirUsedCollector {
|
||||
tcx,
|
||||
body: &body,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue