about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2024-01-16 17:55:25 +0100
committerGitHub <noreply@github.com>2024-01-16 17:55:25 +0100
commit1f0daa5738b9e0ca594cf55989faceca7031b9de (patch)
tree453e1de53a6d4e81583a83493d24f964f00dc475 /compiler/rustc_codegen_llvm/src
parentbcea676e137ecd1b790517833ed78a52c21c1590 (diff)
parent448c4a4efb689f5d7d1479a1c3d1cac0d3a1fc82 (diff)
downloadrust-1f0daa5738b9e0ca594cf55989faceca7031b9de.tar.gz
rust-1f0daa5738b9e0ca594cf55989faceca7031b9de.zip
Rollup merge of #120002 - Nadrieril:dont-collect, r=compiler-errors
Lint `overlapping_ranges_endpoints` directly instead of collecting into a Vec

In https://github.com/rust-lang/rust/pull/119396 I was a bit silly: I was trying to avoid any lints being fired from within the exhaustiveness algorithm for some vague aesthetic/reusability reason that doesn't really hold. This PR fixes that: instead of passing a `&mut Vec` around I just added a method to the `TypeCx` trait.

r? `@compiler-errors`
Diffstat (limited to 'compiler/rustc_codegen_llvm/src')
0 files changed, 0 insertions, 0 deletions