about summary refs log tree commit diff
path: root/compiler/rustc_plugin_impl/src/errors.rs
diff options
context:
space:
mode:
authorDylan DPC <99973273+Dylan-DPC@users.noreply.github.com>2022-10-22 16:28:07 +0530
committerGitHub <noreply@github.com>2022-10-22 16:28:07 +0530
commit16c3b6479458726c24faf9ff00d52b90cb25ce74 (patch)
tree778b9b81a8681e7ac6120df4f1039718ccc13fca /compiler/rustc_plugin_impl/src/errors.rs
parent26c96e341639102afacbbcad0dc18ad0ac71ab18 (diff)
parent64e7fd952243b6724dcd4e14e177c3e972b342bc (diff)
downloadrust-16c3b6479458726c24faf9ff00d52b90cb25ce74.tar.gz
rust-16c3b6479458726c24faf9ff00d52b90cb25ce74.zip
Rollup merge of #102602 - WaffleLapkin:linty_action, r=estebank
Slightly tweak comments wrt `lint_overflowing_range_endpoint`

From the review: https://github.com/rust-lang/rust/pull/101986#discussion_r975610611

It _seemed_ that the lint was not emitted when the `if` check failed, but _actually_ this happens already in a special case and the lint is emitted outside of this function, if this function doesn't. I've cleared up the code/comments a bit, so it's more obvious :)

r? ```@estebank```
Diffstat (limited to 'compiler/rustc_plugin_impl/src/errors.rs')
0 files changed, 0 insertions, 0 deletions