Commit 9969ebb
authored
Rollup merge of #131546 - surechen:fix_129833, r=jieyouxu
Make unused_parens's suggestion considering expr's attributes.
For the expr with attributes,
like `let _ = (#[inline] || println!("Hello!"));`,
the suggestion's span should contains the attributes, or the suggestion will remove them.
fixes #129833File tree
0 file changed
+0
-0
lines changed0 file changed
+0
-0
lines changed
0 commit comments