rustc_ty_utils

Module consts

source

Structsยง

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 ๐Ÿ”’
  • Builds an abstract const, do not use this directly, but use AbstractConst::new instead.