]> git.lizzy.rs Git - rust.git/blobdiff - compiler/rustc_passes/src/layout_test.rs
Auto merge of #105582 - saethlin:instcombine-assert-inhabited, r=cjgillot
[rust.git] / compiler / rustc_passes / src / layout_test.rs
index 5322baee7473a451f107903d9d46c45c42ece559..827d86780aa8c517b87b2d41f6b0e76ab49b2d06 100644 (file)
@@ -26,7 +26,7 @@ pub fn test_layout(tcx: TyCtxt<'_>) {
     }
 }
 
-fn dump_layout_of<'tcx>(tcx: TyCtxt<'tcx>, item_def_id: LocalDefId, attr: &Attribute) {
+fn dump_layout_of(tcx: TyCtxt<'_>, item_def_id: LocalDefId, attr: &Attribute) {
     let tcx = tcx;
     let param_env = tcx.param_env(item_def_id);
     let ty = tcx.type_of(item_def_id);