about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2023-07-06 23:40:33 +0000
committerbors <bors@rust-lang.org>2023-07-06 23:40:33 +0000
commitdd8e44c5a22ab646821252604420c5bb82c36aa9 (patch)
tree0643d3510b79a7d1d643836bd48047df1fc93cf8 /compiler/rustc_codegen_llvm/src
parent1e656d8d6dcd196796aa3ede0e27b3e82de31f3d (diff)
parentf9453511701192ac391a42b37c1794621ece0f77 (diff)
downloadrust-dd8e44c5a22ab646821252604420c5bb82c36aa9.tar.gz
rust-dd8e44c5a22ab646821252604420c5bb82c36aa9.zip
Auto merge of #11111 - Alexendoo:regex-def-paths, r=giraffate
Fix regex lints for regex 1.9.0

regex 1.9.0 was [just released](https://blog.burntsushi.net/regex-internals/), which changes where the types are defined. Instead of updating the definitions to the ones in 1.9.0 this PR uses [`def_path_def_ids`](https://doc.rust-lang.org/nightly/nightly-rustc/clippy_utils/fn.def_path_def_ids.html) on the canonical paths so that we don't have to worry about third party crate internals

This means that it still works with older regex versions too, and will for any future layout changes. I tested it with 1.8.4 and 1.9.0

changelog: [`INVALID_REGEX`], [`TRIVIAL_REGEX`]: now works with regex 1.9.0
Diffstat (limited to 'compiler/rustc_codegen_llvm/src')
0 files changed, 0 insertions, 0 deletions