add more information in comment
This commit is contained in:
parent
c73b64b8c5
commit
d848437814
1 changed files with 2 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue