mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-25 16:24:46 +00:00
eba419195c
Remove `TypeSuper{Foldable,Visitable}` impls for `Region`. These traits exist so that folders/visitors can recurse into types of interest: binders, types, regions, predicates, and consts. But `Region` is non-recursive and cannot contain other types of interest, so its methods in these traits are trivial. This commit inlines and removes those trivial methods. r? `@compiler-errors` |
||
---|---|---|
.. | ||
src | ||
Cargo.toml |