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 299bd12 commit 6648a08Copy full SHA for 6648a08
src/librustc_middle/ty/error.rs
@@ -642,7 +642,7 @@ impl<T> Trait<T> for X {
642
.items
643
.iter()
644
.filter(|(name, item)| {
645
- ty::AssocKind::Method == item.kind && Some(**name) != current_method_ident
+ ty::AssocKind::Fn == item.kind && Some(**name) != current_method_ident
646
})
647
.filter_map(|(_, item)| {
648
let method = self.fn_sig(item.def_id);
0 commit comments