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
This commit is contained in:
@@ -2118,7 +2118,9 @@ symbols! {
|
||||
type_changing_struct_update,
|
||||
type_const,
|
||||
type_id,
|
||||
type_ir_infer_ctxt_like,
|
||||
type_ir_inherent,
|
||||
type_ir_interner,
|
||||
type_length_limit,
|
||||
type_macros,
|
||||
type_name,
|
||||
|
||||
Reference in New Issue
Block a user