Function rustc_hir::is_range_literal
source · pub fn is_range_literal(expr: &Expr<'_>) -> bool
Expand description
Checks if the specified expression is a built-in range literal.
(See: LoweringContext::lower_expr()
).
pub fn is_range_literal(expr: &Expr<'_>) -> bool
Checks if the specified expression is a built-in range literal.
(See: LoweringContext::lower_expr()
).