unused_braces false positive for macro expression. #88104
Labels
A-suggestion-diagnostics
Area: Suggestions generated by the compiler applied by `cargo fix`
C-bug
Category: This is a bug.
I tried this code:
I expected to see this happen: No warning.
Instead, this happened:
unused_braces
warning with a suggestion that causes the code to fail to compile.After applying the suggestion:
Found when trying to run
cargo fix
onnphysics2d
0.24.0.Also found on https://github.com/pjohansson/grafen.
Meta
rustc --version --verbose
:The text was updated successfully, but these errors were encountered: