add more information in comment

This commit is contained in:
andjsrk 2026-01-07 12:09:07 +09:00
parent c73b64b8c5
commit d848437814

View file

@ -5,8 +5,8 @@
// Test if `Expr::can_have_side_effects` considers element of repeat expressions.
fn drop_repeat_in_arm_body() {
// Built-in lint `dropping_copy_types` relies on
// `Expr::can_have_side_effects` (See rust-clippy#9482)
// Built-in lint `dropping_copy_types` relies on `Expr::can_have_side_effects`
// (See rust-clippy#9482 and rust#113231)
match () {
() => drop([0; 1]), // No side effects