diff options
| author | Yuki Okushi <jtitor@2k36.org> | 2021-07-31 04:09:20 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-07-31 04:09:20 +0900 |
| commit | f6bc738433a1a5b5ae36524535fed22c4c06b66e (patch) | |
| tree | 14696a6213ffc62c866f75ea12a6acadf12dbae4 /compiler/rustc_mir/src/transform/coverage/debug.rs | |
| parent | 9391d5520478bd98276f8424b62a09b63e98037b (diff) | |
| parent | e70ce57f306c730c7a949942671cd525e281f2ec (diff) | |
| download | rust-f6bc738433a1a5b5ae36524535fed22c4c06b66e.tar.gz rust-f6bc738433a1a5b5ae36524535fed22c4c06b66e.zip | |
Rollup merge of #87385 - Aaron1011:final-enable-semi, r=petrochenkov
Make `SEMICOLON_IN_EXPRESSIONS_FROM_MACROS` warn by default This PR makes the `SEMICOLON_IN_EXPRESSIONS_FROM_MACROS` lint warn by default. To avoid showing a large number of un-actionable warnings to users, we only enable the lint for macros defined in the same crate. This ensures that users will be able to fix the warning by simply removing a semicolon. In the future, I'd like to enable this lint unconditionally, and eventually make it into a hard error in a future edition. This PR is a step towards that goal.
Diffstat (limited to 'compiler/rustc_mir/src/transform/coverage/debug.rs')
0 files changed, 0 insertions, 0 deletions
