//! > Test range
//! > test_runner_name
test_expr_semantics(expect_diagnostics: false)
//! > function_body
//! > expr_code
1..=10_u8
//! > expected_semantics
FunctionCall(
ExprFunctionCall {
function: core::ops::range::RangeInclusiveOpImpl::<core::integer::u8>::range_inclusive,
args: [
Value(
Literal(
ExprNumericLiteral {
value: 1,
ty: core::integer::u8,
},
),
),
Value(
Literal(
ExprNumericLiteral {
value: 10,
ty: core::integer::u8,
},
),
),
],
coupon_arg: None,
ty: core::ops::range::RangeInclusive::<core::integer::u8>,
},
)
//! > expected_diagnostics