diff options
| author | Matthias Krüger <matthias.krueger@famsik.de> | 2025-02-06 13:09:59 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-02-06 13:09:59 +0100 |
| commit | ece0658bc9fa93d46fb3b7cd78b700bcb27967b9 (patch) | |
| tree | e0a0b977305c98fbab6772043f4c9c1be9bc6ecf /compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp | |
| parent | 4c11087e517f10ee35bbe1829e3e580fc5ca1e01 (diff) | |
| parent | f3e292da0bd1ca81f8ea8efb2f7ead5d23a4bbb0 (diff) | |
| download | rust-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
