rustc_codegen_llvm: move misplaced HasParamEnv
impl.
This commit is contained in:
parent
344df76fed
commit
319dec89e7
|
@ -835,6 +835,12 @@ impl ty::layout::HasTyCtxt<'tcx> for CodegenCx<'ll, 'tcx> {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
impl<'tcx, 'll> HasParamEnv<'tcx> for CodegenCx<'ll, 'tcx> {
|
||||||
|
fn param_env(&self) -> ty::ParamEnv<'tcx> {
|
||||||
|
ty::ParamEnv::reveal_all()
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
impl LayoutOfHelpers<'tcx> for CodegenCx<'ll, 'tcx> {
|
impl LayoutOfHelpers<'tcx> for CodegenCx<'ll, 'tcx> {
|
||||||
type LayoutOfResult = TyAndLayout<'tcx>;
|
type LayoutOfResult = TyAndLayout<'tcx>;
|
||||||
|
|
||||||
|
@ -847,9 +853,3 @@ impl LayoutOfHelpers<'tcx> for CodegenCx<'ll, 'tcx> {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
impl<'tcx, 'll> HasParamEnv<'tcx> for CodegenCx<'ll, 'tcx> {
|
|
||||||
fn param_env(&self) -> ty::ParamEnv<'tcx> {
|
|
||||||
ty::ParamEnv::reveal_all()
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
Loading…
Reference in a new issue