| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2025-03-15 | Use {Decodable,Encodable}_NoContext in type_ir | Michael Goulet | -4/+13 | |
| 2025-03-11 | Remove `#![warn(unreachable_pub)]` from all `compiler/` crates. | Nicholas Nethercote | -1/+0 | |
| It's no longer necessary now that `-Wunreachable_pub` is being passed. | ||||
| 2025-03-10 | Revert "Use workspace lints for crates in `compiler/` #138084" | 许杰友 Jieyou Xu (Joe) | -0/+1 | |
| Revert <https://github.com/rust-lang/rust/pull/138084> to buy time to consider options that avoids breaking downstream usages of cargo on distributed `rustc-src` artifacts, where such cargo invocations fail due to inability to inherit `lints` from workspace root manifest's `workspace.lints` (this is only valid for the source rust-lang/rust workspace, but not really the distributed `rustc-src` artifacts). This breakage was reported in <https://github.com/rust-lang/rust/issues/138304>. This reverts commit 48caf81484b50dca5a5cebb614899a3df81ca898, reversing changes made to c6662879b27f5161e95f39395e3c9513a7b97028. | ||||
| 2025-03-08 | Remove `#![warn(unreachable_pub)]` from all `compiler/` crates. | Nicholas Nethercote | -1/+0 | |
| (Except for `rustc_codegen_cranelift`.) It's no longer necessary now that `unreachable_pub` is in the workspace lints. | ||||
| 2025-02-19 | Make fewer crates depend on rustc_ast_ir | Michael Goulet | -0/+7 | |
| 2024-10-07 | Add sugar for &pin (const|mut) types | Eric Holk | -0/+7 | |
| 2024-08-16 | Add `warn(unreachable_pub)` to several crates. | Nicholas Nethercote | -0/+1 | |
| It requires no additonal changes to these crates, but will prevent unnecessary `pub`s in the future. | ||||
| 2024-06-12 | Use `tidy` to sort crate attributes for all compiler crates. | Nicholas Nethercote | -1/+3 | |
| 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-29 | Remove `extern crate rustc_macros` from numerous crates. | Nicholas Nethercote | -2/+1 | |
| 2024-04-10 | introduce `Mutability::ptr_str` | Kalle Wachsmuth | -0/+8 | |
| 2024-03-08 | Fix typo in `VisitorResult` | Jason Newcomb | -1/+1 | |
| 2024-03-05 | Move visitor utils to `rustc_ast_ir` | Jason Newcomb | -0/+85 | |
| 2024-02-27 | Split rustc_type_ir to avoid rustc_ast from depending on it | Oli Scherer | -0/+68 | |
