| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2024-07-29 | Reformat `use` declarations. | Nicholas Nethercote | -2/+1 | |
| The previous commit updated `rustfmt.toml` appropriately. This commit is the outcome of running `x fmt --all` with the new formatting options. | ||||
| 2024-06-20 | Remove useless `tidy-alphabetical` markers. | Nicholas Nethercote | -2/+0 | |
| rustfmt already sorts `use` declarations within the same group. | ||||
| 2024-06-12 | Use `tidy` to sort crate attributes for all compiler crates. | Nicholas Nethercote | -0/+2 | |
| We already do this for a number of crates, e.g. `rustc_middle`, `rustc_span`, `rustc_metadata`, `rustc_span`, `rustc_errors`. For the ones we don't, in many cases the attributes are a mess. - There is no consistency about order of attribute kinds (e.g. `allow`/`deny`/`feature`). - Within attribute kind groups (e.g. the `feature` attributes), sometimes the order is alphabetical, and sometimes there is no particular order. - Sometimes the attributes of a particular kind aren't even grouped all together, e.g. there might be a `feature`, then an `allow`, then another `feature`. This commit extends the existing sorting to all compiler crates, increasing consistency. If any new attribute line is added there is now only one place it can go -- no need for arbitrary decisions. Exceptions: - `rustc_log`, `rustc_next_trait_solver` and `rustc_type_ir_macros`, because they have no crate attributes. - `rustc_codegen_gcc`, because it's quasi-external to rustc (e.g. it's ignored in `rustfmt.toml`). | ||||
| 2024-04-24 | Stabilize `std::path::absolute` | Chris Denton | -2/+0 | |
| 2024-02-06 | Invert diagnostic lints. | Nicholas Nethercote | -2/+0 | |
| That is, change `diagnostic_outside_of_impl` and `untranslatable_diagnostic` from `allow` to `deny`, because more than half of the compiler has be converted to use translated diagnostics. This commit removes more `deny` attributes than it adds `allow` attributes, which proves that this change is warranted. | ||||
| 2023-03-16 | Add `try_canonicalize` to `rustc_fs_util` and use it over `fs::canonicalize` | John Kåre Alsaker | -1/+7 | |
| 2022-12-01 | Remove useless borrows and derefs | Maybe Waffle | -1/+1 | |
| 2022-08-18 | Add diagnostic translation lints to crates that don't emit them | 5225225 | -0/+3 | |
| 2021-01-06 | Optimize away a `fs::metadata` call. | Dan Gohman | -2/+4 | |
| This also eliminates a use of a `Path` convenience function, in support of #80741, refactoring `std::path` to focus on pure data structures and algorithms. | ||||
| 2020-10-14 | Remove unused code from remaining compiler crates | est31 | -27/+0 | |
| 2020-08-30 | mv compiler to compiler/ | mark | -0/+115 | |
