Module rustc_ty_utils::consts
source ยท Structsยง
- IsThirPolymorphic ๐
Functionsยง
- check_binop ๐We do not allow all binary operations in abstract consts, so filter disallowed ones.
- check_unop ๐While we currently allow all unary operations, we still want to explicitly guard against future changes here.
- destructure_const ๐Destructures array, ADT or tuple constants into the constants of their fields.
- error ๐
- provide ๐
- recurse_build ๐
- thir_abstract_const ๐Builds an abstract const, do not use this directly, but use
AbstractConst::new
instead.