use ;
/// Cheap canonicalization for `CAST`: constant-fold the cast at compile
/// time when the operand is a literal value.
///
/// Schema-directed casts — a `#[document]` embed's record ↔ object
/// conversions, marked by a source type or a model-typed target — are
/// skipped: fold is schema-free, so they constant-fold in the simplifier
/// instead (`simplify/expr_cast.rs`), which also owns the other heavyweight
/// rewrites (redundant-cast elimination on field references).
pub