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 a9924c6 commit ea6b18eCopy full SHA for ea6b18e
src/librustc_resolve/lib.rs
@@ -1844,7 +1844,6 @@ impl<'a> Resolver<'a> {
1844
1845
for trait_item in trait_items {
1846
this.check_proc_macro_attrs(&trait_item.attrs);
1847
- this.visit_generics(&trait_item.generics);
1848
1849
match trait_item.node {
1850
TraitItemKind::Const(ref ty, ref default) => {
@@ -2056,7 +2055,6 @@ impl<'a> Resolver<'a> {
2056
2055
this.with_current_self_type(self_type, |this| {
2057
for impl_item in impl_items {
2058
this.check_proc_macro_attrs(&impl_item.attrs);
2059
- this.visit_generics(&impl_item.generics);
2060
this.resolve_visibility(&impl_item.vis);
2061
match impl_item.node {
2062
ImplItemKind::Const(..) => {
0 commit comments