]> git.lizzy.rs Git - rust.git/blobdiff - compiler/rustc_transmute/src/lib.rs
Rollup merge of #103870 - TaKO8Ki:fix-103790, r=fee1-dead
[rust.git] / compiler / rustc_transmute / src / lib.rs
index 51f2eb8606a7f3d96b5612bf63bea12298e99715..f7cc94e53146afaf35e3654b33ed5312f5bd4cf9 100644 (file)
@@ -80,11 +80,11 @@ pub struct Types<'tcx> {
     }
 
     pub struct TransmuteTypeEnv<'cx, 'tcx> {
-        infcx: &'cx InferCtxt<'cx, 'tcx>,
+        infcx: &'cx InferCtxt<'tcx>,
     }
 
     impl<'cx, 'tcx> TransmuteTypeEnv<'cx, 'tcx> {
-        pub fn new(infcx: &'cx InferCtxt<'cx, 'tcx>) -> Self {
+        pub fn new(infcx: &'cx InferCtxt<'tcx>) -> Self {
             Self { infcx }
         }