about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2025-02-06 13:09:59 +0100
committerGitHub <noreply@github.com>2025-02-06 13:09:59 +0100
commitece0658bc9fa93d46fb3b7cd78b700bcb27967b9 (patch)
treee0a0b977305c98fbab6772043f4c9c1be9bc6ecf /compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp
parent4c11087e517f10ee35bbe1829e3e580fc5ca1e01 (diff)
parentf3e292da0bd1ca81f8ea8efb2f7ead5d23a4bbb0 (diff)
downloadrust-ece0658bc9fa93d46fb3b7cd78b700bcb27967b9.tar.gz
rust-ece0658bc9fa93d46fb3b7cd78b700bcb27967b9.zip
Rollup merge of #136393 - oli-obk:pattern-type-lit-oflo-checks, r=compiler-errors
Fix accidentally not emitting overflowing literals lints anymore in patterns

This was regressed in https://github.com/rust-lang/rust/pull/134228 (not in beta yet).

The issue was that previously we nested `hir::Expr` inside `hir::PatKind::Lit`, so it was linted by the expression code.

So now I've set it up for visitors to be able to directly visit literals and get all literals
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp')
0 files changed, 0 insertions, 0 deletions