We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
HasParamEnv
1 parent 344df76 commit 319dec8Copy full SHA for 319dec8
compiler/rustc_codegen_llvm/src/context.rs
@@ -835,6 +835,12 @@ impl ty::layout::HasTyCtxt<'tcx> for CodegenCx<'ll, 'tcx> {
835
}
836
837
838
+impl<'tcx, 'll> HasParamEnv<'tcx> for CodegenCx<'ll, 'tcx> {
839
+ fn param_env(&self) -> ty::ParamEnv<'tcx> {
840
+ ty::ParamEnv::reveal_all()
841
+ }
842
+}
843
+
844
impl LayoutOfHelpers<'tcx> for CodegenCx<'ll, 'tcx> {
845
type LayoutOfResult = TyAndLayout<'tcx>;
846
@@ -847,9 +853,3 @@ impl LayoutOfHelpers<'tcx> for CodegenCx<'ll, 'tcx> {
847
853
848
854
849
855
850
-
851
-impl<'tcx, 'll> HasParamEnv<'tcx> for CodegenCx<'ll, 'tcx> {
852
- fn param_env(&self) -> ty::ParamEnv<'tcx> {
- ty::ParamEnv::reveal_all()
- }
-}
0 commit comments