about summary refs log tree commit diff
path: root/compiler/rustc_pattern_analysis/src/rustc.rs
diff options
context:
space:
mode:
authorStuart Cook <Zalathar@users.noreply.github.com>2025-03-27 15:57:24 +1100
committerGitHub <noreply@github.com>2025-03-27 15:57:24 +1100
commitcb39217d4476f1abdf03189d36765fbd4be92f77 (patch)
tree7963acd47fafa9f0784e11385bedaaf169307970 /compiler/rustc_pattern_analysis/src/rustc.rs
parentbad12175de19d662038a82a9c750dcadf57f1dcb (diff)
parent5f1e36f8ad96dadaf181cbb17294612316181a1e (diff)
downloadrust-cb39217d4476f1abdf03189d36765fbd4be92f77.tar.gz
rust-cb39217d4476f1abdf03189d36765fbd4be92f77.zip
Rollup merge of #138964 - compiler-errors:usage-of-interner, r=lcnr
Implement lint against using Interner and InferCtxtLike in random compiler crates

Often `Interner` defines similar methods to `TyCtxt` (but often simplified due to the simpler API surface of the type system layer for the new solver), which people will either unintentionally or intentionally import and use. Let's discourage that.

r? lcnr
Diffstat (limited to 'compiler/rustc_pattern_analysis/src/rustc.rs')
0 files changed, 0 insertions, 0 deletions