Module rustc_ty_utils::consts
source ยท Structsยง
- IsThir
Polymorphic ๐
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 useAbstractConst::new
instead.