Skip to content

Commit 0a78df2

Browse files
committedApr 14, 2020
fix rebase
1 parent 901bde1 commit 0a78df2

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
@@ -621,7 +621,7 @@ impl<T> Trait<T> for X {
621621
.items
622622
.iter()
623623
.filter(|(name, item)| {
624-
ty::AssocKind::Method == item.kind && Some(**name) != current_method_ident
624+
ty::AssocKind::Fn == item.kind && Some(**name) != current_method_ident
625625
})
626626
.filter_map(|(_, item)| {
627627
let method = self.fn_sig(item.def_id);

0 commit comments

Comments
 (0)