remove remaining references to Reveal
This commit is contained in:
parent
319843d8cd
commit
a8c8ab1acd
34 changed files with 93 additions and 84 deletions
|
@ -141,7 +141,7 @@ fn make_shim<'tcx>(tcx: TyCtxt<'tcx>, instance: ty::InstanceKind<'tcx>) -> Body<
|
|||
debug!("make_shim({:?}) = untransformed {:?}", instance, result);
|
||||
|
||||
// We don't validate MIR here because the shims may generate code that's
|
||||
// only valid in a reveal-all param-env. However, since we do initial
|
||||
// only valid in a `PostAnalysis` param-env. However, since we do initial
|
||||
// validation with the MirBuilt phase, which uses a user-facing param-env.
|
||||
// This causes validation errors when TAITs are involved.
|
||||
pm::run_passes_no_validate(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue