Rustup to rustc 1.36.0-nightly (cfdc84a00
2019-05-07)
This commit is contained in:
parent
bb7a990ee7
commit
2aeffa679a
1 changed files with 6 additions and 0 deletions
|
@ -622,6 +622,12 @@ impl<'a, 'tcx, B: Backend + 'a> layout::HasDataLayout for FunctionCx<'a, 'tcx, B
|
|||
}
|
||||
}
|
||||
|
||||
impl<'a, 'tcx, B: Backend + 'a> layout::HasParamEnv<'tcx> for FunctionCx<'a, 'tcx, B> {
|
||||
fn param_env(&self) -> ParamEnv<'tcx> {
|
||||
ParamEnv::reveal_all()
|
||||
}
|
||||
}
|
||||
|
||||
impl<'a, 'tcx, B: Backend + 'a> HasTargetSpec for FunctionCx<'a, 'tcx, B> {
|
||||
fn target_spec(&self) -> &Target {
|
||||
&self.tcx.sess.target.target
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue