rust/compiler/rustc_traits
fee1-dead eba419195c
Rollup merge of #110345 - nnethercote:rm-Super-impls-for-Region, r=compiler-errors
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`
2023-04-16 18:55:38 +08:00
..
src Rollup merge of #110345 - nnethercote:rm-Super-impls-for-Region, r=compiler-errors 2023-04-16 18:55:38 +08:00
Cargo.toml remove unused imports 2023-02-06 17:40:18 +03:00