rust/compiler/rustc_middle
Matthias Krüger 89ee41cc4c
Rollup merge of #136847 - nnethercote:simplify-intra-crate-quals, r=oli-obk
Simplify intra-crate qualifiers.

The following is a weird pattern for a file within `rustc_middle`:
```
use rustc_middle::aaa;
use crate::bbb;
```
More sensible and standard would be this:
```
use crate::{aaa, bbb};
```
I.e. we generally prefer using `crate::` to using a crate's own name. (Exceptions are things like in macros where `crate::` doesn't work because the macro is used in multiple crates.)

This commit fixes a bunch of these weird qualifiers.

r? `@jieyouxu`
2025-02-11 18:04:49 +01:00
..
src Rollup merge of #136847 - nnethercote:simplify-intra-crate-quals, r=oli-obk 2025-02-11 18:04:49 +01:00
Cargo.toml Removed dependency on the field-offset crate. 2025-02-05 17:56:06 +01:00
messages.ftl Auto merge of #134424 - 1c3t3a:null-checks, r=saethlin 2025-01-31 15:56:53 +00:00
README.md

For more information about how rustc works, see the rustc dev guide.