]> git.lizzy.rs Git - rust.git/blobdiff - compiler/rustc_hir_analysis/src/coherence/inherent_impls.rs
Rollup merge of #106978 - mejrs:mir_build3, r=davidtwco
[rust.git] / compiler / rustc_hir_analysis / src / coherence / inherent_impls.rs
index 6469f389bf91b313141ce01452fe74cb68b72f98..dfb9824094346949c74b14f117fdd45dbaf6b375 100644 (file)
@@ -182,7 +182,7 @@ fn check_item(&mut self, id: hir::ItemId) {
         }
 
         let item = self.tcx.hir().item(id);
-        let hir::ItemKind::Impl(hir::Impl { of_trait: None, self_ty: ty, ref items, .. }) = item.kind else {
+        let hir::ItemKind::Impl(hir::Impl { of_trait: None, self_ty: ty, items, .. }) = item.kind else {
             return;
         };