Module rustc_hir_analysis::check::check
source · Functions
- Checks that an opaque type does not contain cycles and does not use
SelforT::Fooprojections that would result in “inheriting lifetimes”. - Checks that an opaque type does not contain cycles.
- Check that the concrete type behind
impl Traitactually implementsTrait. - Check that a
staticis inhabited. - Check that the fields of the
uniondo not need dropping. - Part of enum check. Given the discriminants of an enum, errors if two or more discriminants are equal
- Emit an error for recursive opaque types.