diff options
| author | Nilstrieb <48135649+Nilstrieb@users.noreply.github.com> | 2024-02-20 15:13:53 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-02-20 15:13:53 +0100 |
| commit | bc7489c546e3c9658ef4ff936dbf9dc3f9e33f1e (patch) | |
| tree | c60ea3eca922d2ce8b54405b129f20f2824fe76c /compiler/rustc_pattern_analysis/src | |
| parent | c5d2159decaca7de690fbab85849b548b9c3775a (diff) | |
| parent | 42c4df01a8b498c56bf762c2307fb4a3c55293fe (diff) | |
| download | rust-bc7489c546e3c9658ef4ff936dbf9dc3f9e33f1e.tar.gz rust-bc7489c546e3c9658ef4ff936dbf9dc3f9e33f1e.zip | |
Rollup merge of #121286 - gurry:constprop-lint-rename, r=oli-obk
Rename `ConstPropLint` to `KnownPanicsLint` `OverflowLint` is a clearer name because it communicates what the lint does instead of the underlying mechanism it uses (const propagation) which should be of secondary concern. `OverflowLint` isn't the most accurate name because the lint looks for other errors as well such as division by zero not just overflows, but I couldn't think of another equally succinct name. As a part of this change. I've also added/updated some of the comments. cc ```@RalfJung``` ```@oli-obk``` for visibility in case you go looking for the lint using the old name. Edit: Changed the name from `OverflowLint` to `KnownPanicsLint`
Diffstat (limited to 'compiler/rustc_pattern_analysis/src')
0 files changed, 0 insertions, 0 deletions
