Skip to content
This repository was archived by the owner on May 28, 2025. It is now read-only.

Commit 2aeffa6

Browse files
committed
Rustup to rustc 1.36.0-nightly (cfdc84a 2019-05-07)
1 parent bb7a990 commit 2aeffa6

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/common.rs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -622,6 +622,12 @@ impl<'a, 'tcx, B: Backend + 'a> layout::HasDataLayout for FunctionCx<'a, 'tcx, B
622622
}
623623
}
624624

625+
impl<'a, 'tcx, B: Backend + 'a> layout::HasParamEnv<'tcx> for FunctionCx<'a, 'tcx, B> {
626+
fn param_env(&self) -> ParamEnv<'tcx> {
627+
ParamEnv::reveal_all()
628+
}
629+
}
630+
625631
impl<'a, 'tcx, B: Backend + 'a> HasTargetSpec for FunctionCx<'a, 'tcx, B> {
626632
fn target_spec(&self) -> &Target {
627633
&self.tcx.sess.target.target

0 commit comments

Comments
 (0)