Files
rust/compiler
Guillaume Gomez 09575ecde1 Rollup merge of #150385 - fix-expr-can-have-side-effects, r=jdonszelmann,samueltardieu
fix `Expr::can_have_side_effects` for `[x; N]` style array literal and binary expressions

AFAIK `[0; 3]` is basically a syntax sugar for `[0, 0, 0]` so it should return whether the repeat's element can have side effects, like what it does on arrays.
And it seems that the rule for unary operators and indexings can be applied to binary operators as well.
2026-01-09 11:59:58 +01:00
..
2025-12-19 15:04:30 -08:00
2026-01-08 20:29:00 +05:00
2025-10-12 08:08:30 +00:00
2026-01-08 20:29:00 +05:00
2026-01-07 08:44:32 +08:00
2026-01-08 20:29:00 +05:00