| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2024-08-16 | Add `warn(unreachable_pub)` to `rustc_ast_pretty`. | Nicholas Nethercote | -0/+1 | |
| 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-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. | ||||
| 2024-01-25 | Remove unused features | clubby789 | -2/+0 | |
| 2023-12-20 | Refactor AST trait bound modifiers | León Orell Valerian Liehr | -0/+1 | |
| 2023-11-22 | Remove unneeded features. | Nicholas Nethercote | -2/+0 | |
| 2023-11-15 | Bump cfg(bootstrap)s | Mark Rousskov | -3/+3 | |
| 2023-10-16 | docs: add Rust logo to more compiler crates | Michael Howell | -0/+3 | |
| c6e6ecb1afea9695a42d0f148ce153536b279eb5 added it to some of the compiler's crates, but avoided adding it to all of them to reduce bit-rot. This commit adds to more. | ||||
| 2022-08-18 | Add diagnostic translation lints to crates that don't emit them | 5225225 | -0/+2 | |
| 2022-05-20 | Remove `crate` visibility usage in compiler | Jacob Pratt | -1/+0 | |
| 2022-05-11 | ast: Introduce some traits to get AST node properties generically | Vadim Petrochenkov | -0/+2 | |
| And use them to avoid constructing some artificial `Nonterminal` tokens during expansion | ||||
| 2022-05-04 | Stabilize `bool::then_some` | Josh Triplett | -1/+0 | |
| 2021-05-24 | remove cfg(bootstrap) | Pietro Albini | -1/+0 | |
| 2021-03-19 | stabilize or_patterns | mark | -1/+1 | |
| 2021-02-01 | Box the biggest ast::ItemKind variants | Dániel Buga | -0/+1 | |
| 2020-08-30 | mv compiler to compiler/ | mark | -0/+8 | |
