about summary refs log tree commit diff
path: root/src/librustdoc/html/format.rs
diff options
context:
space:
mode:
authorStuart Cook <Zalathar@users.noreply.github.com>2025-09-18 11:48:50 +1000
committerGitHub <noreply@github.com>2025-09-18 11:48:50 +1000
commitd5aa8d5e5eb013707a177c27d0856963df715ec7 (patch)
treedf20827166a396fa1a02d4e1c50d3285380cd76a /src/librustdoc/html/format.rs
parent93117677d857bb7c3f12c9dc500d77839f8fb13d (diff)
parent912785d966395d36cd2cebe5d0959316fdd28cef (diff)
downloadrust-d5aa8d5e5eb013707a177c27d0856963df715ec7.tar.gz
rust-d5aa8d5e5eb013707a177c27d0856963df715ec7.zip
Rollup merge of #146566 - cjgillot:mir-overlap-lint, r=saethlin
Lint more overlapping assignments in MIR.

In an effort to make bugs like https://github.com/rust-lang/rust/issues/146383 more easily discovered, this PR extends the "overlapping assignment" MIR lint.

I had to whitelist some rvalues, as they are actually allowed to alias, like `a = a + 1`.
Diffstat (limited to 'src/librustdoc/html/format.rs')
0 files changed, 0 insertions, 0 deletions