about summary refs log tree commit diff
path: root/compiler/rustc_driver_impl/src
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2024-09-02 04:19:28 +0200
committerGitHub <noreply@github.com>2024-09-02 04:19:28 +0200
commite0039171ffdb546a1b22012e4d6febe0634af2a9 (patch)
tree83a9954b0555b7a4f424687fef8d81bddbed70a5 /compiler/rustc_driver_impl/src
parentc90991db1759d0da7034146755c048d8e581d73c (diff)
parent91854453f233c2b7084e665c2cf36f5494b26b76 (diff)
downloadrust-e0039171ffdb546a1b22012e4d6febe0634af2a9.tar.gz
rust-e0039171ffdb546a1b22012e4d6febe0634af2a9.zip
Rollup merge of #129678 - compiler-errors:type-ir-inherent, r=fmease
Deny imports of `rustc_type_ir::inherent` outside of type ir + new trait solver

We shouldn't encourage using `rustc_type_ir::inherent` outside of the new solver[^1], though this can happen by accident due to rust-analyzer, for example. See https://github.com/rust-lang/rust/pull/127537#discussion_r1733813842 for an example in practice.

r? fmease

[^1]: Unless we go the fully radical approach of always using these inherent methods everywhere in favor of inherent methods, which would be a major overhaul of the compiler, IMO. I don't really want to consider that possibility right now, tho.
Diffstat (limited to 'compiler/rustc_driver_impl/src')
0 files changed, 0 insertions, 0 deletions