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 e03447d commit 892e468Copy full SHA for 892e468
src/librustc_resolve/lib.rs
@@ -1863,7 +1863,6 @@ impl<'a> Resolver<'a> {
1863
1864
for trait_item in trait_items {
1865
this.check_proc_macro_attrs(&trait_item.attrs);
1866
- this.visit_generics(&trait_item.generics);
1867
1868
match trait_item.node {
1869
TraitItemKind::Const(ref ty, ref default) => {
@@ -2075,7 +2074,6 @@ impl<'a> Resolver<'a> {
2075
2074
this.with_current_self_type(self_type, |this| {
2076
for impl_item in impl_items {
2077
this.check_proc_macro_attrs(&impl_item.attrs);
2078
- this.visit_generics(&impl_item.generics);
2079
this.resolve_visibility(&impl_item.vis);
2080
match impl_item.node {
2081
ImplItemKind::Const(..) => {
0 commit comments