rust/compiler/rustc_hir_analysis/src/variance
Nicholas Nethercote 4460a1dc28 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.
2023-04-16 09:11:43 +10:00
..
constraints.rs remove bound_type_of query; make type_of return EarlyBinder; change type_of in metadata 2023-02-16 17:05:56 -07:00
mod.rs Remove TypeSuper{Foldable,Visitable} impls for Region. 2023-04-16 09:11:43 +10:00
solve.rs remove bound_type_of query; make type_of return EarlyBinder; change type_of in metadata 2023-02-16 17:05:56 -07:00
terms.rs Prefer doc comments over //-comments in compiler 2022-11-27 11:19:04 +00:00
test.rs Use local key in providers 2023-03-21 15:38:51 +00:00
xform.rs rustc_typeck to rustc_hir_analysis 2022-09-27 10:37:23 +02:00