a1fabbf386
* Fix #5871 * Only idempotence test is necessary * Update src/expr.rs Co-authored-by: Caleb Cartwright <calebcartwright@users.noreply.github.com> --------- Co-authored-by: Caleb Cartwright <calebcartwright@users.noreply.github.com>
9 lines
195 B
Rust
9 lines
195 B
Rust
#![feature(stmt_expr_attributes)]
|
|
fn okay() -> u32 {
|
|
(
|
|
// Comments in parentheses-expressions caused attributes to be duplicated.
|
|
#[allow(unused_variables)]
|
|
0
|
|
)
|
|
}
|