mirror of
https://github.com/rust-lang/rust.git
synced 2025-11-10 12:01:23 +00:00
`visit_local` is the only method that doesn't call a corresponding `super_local` method. This is valid, because `super_local` would be empty. But it's inconsistent with every other case; we have multiple other empty `super` methods: `super_span`, `super_ty`, etc. This commit adds an empty `super_local` and makes `visit_local` call it.
For more information about how rustc works, see the rustc dev guide.