We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 901bde1 commit 0a78df2Copy full SHA for 0a78df2
src/librustc_middle/ty/error.rs
@@ -621,7 +621,7 @@ impl<T> Trait<T> for X {
621
.items
622
.iter()
623
.filter(|(name, item)| {
624
- ty::AssocKind::Method == item.kind && Some(**name) != current_method_ident
+ ty::AssocKind::Fn == item.kind && Some(**name) != current_method_ident
625
})
626
.filter_map(|(_, item)| {
627
let method = self.fn_sig(item.def_id);
0 commit comments