Removed redundant generics visits
This commit is contained in:
parent
e03447dae3
commit
892e4689ef
1 changed files with 0 additions and 2 deletions
|
|
@ -1863,7 +1863,6 @@ impl<'a> Resolver<'a> {
|
|||
|
||||
for trait_item in trait_items {
|
||||
this.check_proc_macro_attrs(&trait_item.attrs);
|
||||
this.visit_generics(&trait_item.generics);
|
||||
|
||||
match trait_item.node {
|
||||
TraitItemKind::Const(ref ty, ref default) => {
|
||||
|
|
@ -2075,7 +2074,6 @@ impl<'a> Resolver<'a> {
|
|||
this.with_current_self_type(self_type, |this| {
|
||||
for impl_item in impl_items {
|
||||
this.check_proc_macro_attrs(&impl_item.attrs);
|
||||
this.visit_generics(&impl_item.generics);
|
||||
this.resolve_visibility(&impl_item.vis);
|
||||
match impl_item.node {
|
||||
ImplItemKind::Const(..) => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue