rustc_hir_analysis
: remove ref
patterns
This commit is contained in:
parent
d60e772e14
commit
09485eaae1
19 changed files with 161 additions and 168 deletions
|
@ -182,7 +182,7 @@ impl<'tcx> InherentCollect<'tcx> {
|
|||
}
|
||||
|
||||
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;
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue