Skip to content

Commit 6648a08

Browse files
committed
fix rebase
1 parent 299bd12 commit 6648a08

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/librustc_middle/ty/error.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -642,7 +642,7 @@ impl<T> Trait<T> for X {
642642
.items
643643
.iter()
644644
.filter(|(name, item)| {
645-
ty::AssocKind::Method == item.kind && Some(**name) != current_method_ident
645+
ty::AssocKind::Fn == item.kind && Some(**name) != current_method_ident
646646
})
647647
.filter_map(|(_, item)| {
648648
let method = self.fn_sig(item.def_id);

0 commit comments

Comments
 (0)