diff options
| author | Romain Perier <romain.perier@gmail.com> | 2025-05-25 15:15:49 +0200 |
|---|---|---|
| committer | Romain Perier <romain.perier@gmail.com> | 2025-06-18 16:01:41 +0200 |
| commit | a1a3bef6f0d5f5f45f0296133d7af745dc89d7bb (patch) | |
| tree | ec68e7afb6fc2ba1b3353835ecdc205fd82e1449 /compiler/rustc_interface/src | |
| parent | 6f935a044d1ddeb6160494a6320d008d7c311aef (diff) | |
| download | rust-a1a3bef6f0d5f5f45f0296133d7af745dc89d7bb.tar.gz rust-a1a3bef6f0d5f5f45f0296133d7af745dc89d7bb.zip | |
Implement lint against direct uses of rustc_type_ir in compiler crates
This commit adds a lint to prevent the use of rustc_type_ir in random compiler crates, except for type system internals traits, which are explicitly allowed. Moreover, this fixes diagnostic_items() to include the CRATE_OWNER_ID, otherwise rustc_diagnostic_item attribute is ignored on the crate root.
Diffstat (limited to 'compiler/rustc_interface/src')
0 files changed, 0 insertions, 0 deletions
