| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2023-06-19 | Syntatically accept `become` expressions | Maybe Waffle | -0/+5 | |
| 2023-06-15 | Fix suggestion for E0404 not dealing with multiple generics | 许杰友 Jieyou Xu (Joe) | -13/+26 | |
| 2023-05-05 | Migrate offset_of from a macro to builtin # syntax | est31 | -2/+1 | |
| 2023-05-05 | Rollup merge of #108801 - fee1-dead-contrib:c-str, r=compiler-errors | Dylan DPC | -0/+4 | |
| Implement RFC 3348, `c"foo"` literals RFC: https://github.com/rust-lang/rfcs/pull/3348 Tracking issue: #105723 | ||||
| 2023-05-02 | Implement negative bounds | Michael Goulet | -0/+7 | |
| 2023-05-02 | fix TODO comments | Deadbeef | -2/+4 | |
| 2023-05-02 | initial step towards implementing C string literals | Deadbeef | -0/+2 | |
| 2023-05-01 | Rip it out | Nilstrieb | -3/+9 | |
| My type ascription Oh rip it out Ah If you think we live too much then You can sacrifice diagnostics Don't mix your garbage Into my syntax So many weird hacks keep diagnostics alive Yet I don't even step outside So many bad diagnostics keep tyasc alive Yet tyasc doesn't even bother to survive! | ||||
| 2023-05-01 | Rollup merge of #111037 - Nilstrieb:close-the-offsetof, r=compiler-errors | Matthias Krüger | -1/+1 | |
| Close parentheses for `offset_of` in AST pretty printing HIR pretty printing already handles it correctly. This will conflict with #110694 but it seems like that PR is gonna take bit more time. | ||||
| 2023-04-30 | Close parentheses for `offset_of` in AST pretty printing | Nilstrieb | -1/+1 | |
| HIR pretty printing already handles it correctly. | ||||
| 2023-04-27 | Tweak await span | Michael Goulet | -1/+1 | |
| 2023-04-21 | minor tweaks | DrMeepster | -7/+6 | |
| 2023-04-21 | offset_of | DrMeepster | -0/+21 | |
| 2023-04-10 | Remove `..` from return type notation | Michael Goulet | -4/+0 | |
| 2023-04-09 | Remove identity casts | Nilstrieb | -1/+1 | |
| 2023-04-09 | Fix some clippy::complexity | Nilstrieb | -1/+3 | |
| 2023-04-04 | Rename `ast::Static` to `ast::StaticItem` to match `ast::ConstItem` | Oli Scherer | -2/+2 | |
| 2023-04-04 | box a bunch of large types | Oli Scherer | -3/+3 | |
| 2023-04-04 | Split out ast::ItemKind::Const into its own struct | Oli Scherer | -4/+11 | |
| 2023-04-04 | rust-analyzer guided tuple field to named field | Oli Scherer | -1/+1 | |
| 2023-04-04 | rust-analyzer guided enum variant structification | Oli Scherer | -1/+2 | |
| 2023-03-28 | Add `(..)` syntax for RTN | Michael Goulet | -0/+4 | |
| 2023-03-19 | Remove the `NodeId` of `ast::ExprKind::Async` | Arpad Borsos | -1/+1 | |
| 2023-03-12 | Remove `box_syntax` from AST and use in tools | clubby789 | -4/+0 | |
| 2023-03-02 | Force parentheses around `match` expression in binary expression | bwmf2 | -0/+4 | |
| 2023-02-21 | Use `ThinVec` in various AST types. | Nicholas Nethercote | -2/+5 | |
| This commit changes the sequence parsers to produce `ThinVec`, which triggers numerous conversions. | ||||
| 2023-02-21 | Use `ThinVec` in `ast::WhereClause`. | Nicholas Nethercote | -1/+1 | |
| 2023-02-21 | Use `ThinVec` in `ast::Generics` and related types. | Nicholas Nethercote | -4/+3 | |
| 2023-02-07 | Expand const-if-const trait bounds correctly | Michael Goulet | -2/+12 | |
| 2023-02-02 | Rename `rust_2015` => `is_rust_2015` | Maybe Waffle | -1/+1 | |
| 2023-01-31 | Use `Edition` methods a bit more | Maybe Waffle | -1/+1 | |
| 2023-01-27 | Replace format flags u32 by enums and bools. | Mara Bos | -14/+14 | |
| 2023-01-26 | Auto merge of #106745 - m-ou-se:format-args-ast, r=oli-obk | bors | -0/+104 | |
| Move format_args!() into AST (and expand it during AST lowering) Implements https://github.com/rust-lang/compiler-team/issues/541 This moves FormatArgs from rustc_builtin_macros to rustc_ast_lowering. For now, the end result is the same. But this allows for future changes to do smarter things with format_args!(). It also allows Clippy to directly access the ast::FormatArgs, making things a lot easier. This change turns the format args types into lang items. The builtin macro used to refer to them by their path. After this change, the path is no longer relevant, making it easier to make changes in `core`. This updates clippy to use the new language items, but this doesn't yet make clippy use the ast::FormatArgs structure that's now available. That should be done after this is merged. | ||||
| 2023-01-17 | Remove double spaces after dots in comments | Maybe Waffle | -2/+2 | |
| 2023-01-14 | Fix ast_pretty for format_args for {:x?} and {:X?}. | Mara Bos | -2/+2 | |
| They were accidentally swapped. | ||||
| 2023-01-12 | Add FIXME comments about asm and format_args ast_pretty. | Mara Bos | -0/+2 | |
| 2023-01-12 | parse const closures | Deadbeef | -0/+2 | |
| 2023-01-12 | Expand format_args!() in rust_ast_lowering. | Mara Bos | -0/+102 | |
| 2023-01-05 | Fix `uninlined_format_args` for some compiler crates | nils | -10/+10 | |
| Convert all the crates that have had their diagnostic migration completed (except save_analysis because that will be deleted soon and apfloat because of the licensing problem). | ||||
| 2022-12-28 | Rename `Rptr` to `Ref` in AST and HIR | Nilstrieb | -1/+1 | |
| The name makes a lot more sense, and `ty::TyKind` calls it `Ref` already as well. | ||||
| 2022-12-12 | Auto merge of #105160 - nnethercote:rm-Lit-token_lit, r=petrochenkov | bors | -2/+4 | |
| Remove `token::Lit` from `ast::MetaItemLit`. Currently `ast::MetaItemLit` represents the literal kind twice. This PR removes that redundancy. Best reviewed one commit at a time. r? `@petrochenkov` | ||||
| 2022-12-06 | Remove outdated syntax from trait alias pretty printing | Maybe Waffle | -13/+2 | |
| 2022-12-05 | Remove three uses of `LitKind::synthesize_token_lit`. | Nicholas Nethercote | -2/+3 | |
| 2022-12-03 | Rollup merge of #105050 - WaffleLapkin:uselessrefign, r=jyn514 | Matthias Krüger | -15/+15 | |
| Remove useless borrows and derefs They are nothing more than noise. <sub>These are not all of them, but my clippy started crashing (stack overflow), so rip :(</sub> | ||||
| 2022-12-03 | Rollup merge of #104199 - SarthakSingh31:issue-97417-1, r=cjgillot | Matthias Krüger | -0/+1 | |
| Keep track of the start of the argument block of a closure This removes a call to `tcx.sess.source_map()` from [compiler/rustc_trait_selection/src/traits/error_reporting/mod.rs](https://github.com/rust-lang/rust/compare/master...SarthakSingh31:issue-97417-1?expand=1#diff-8406bbc0d0b43d84c91b1933305df896ecdba0d1f9269e6744f13d87a2ab268a) as required by #97417. VsCode automatically applied `rustfmt` to the files I edited under `src/tools`. I can undo that if its a problem. r? `@cjgillot` | ||||
| 2022-12-02 | Remove `token::Lit` from `ast::MetaItemLit`. | Nicholas Nethercote | -1/+1 | |
| `token::Lit` contains a `kind` field that indicates what kind of literal it is. `ast::MetaItemLit` currently wraps a `token::Lit` but also has its own `kind` field. This means that `ast::MetaItemLit` encodes the literal kind in two different ways. This commit changes `ast::MetaItemLit` so it no longer wraps `token::Lit`. It now contains the `symbol` and `suffix` fields from `token::Lit`, but not the `kind` field, eliminating the redundancy. | ||||
| 2022-12-02 | Add `StrStyle` to `ast::LitKind::ByteStr`. | Nicholas Nethercote | -1/+2 | |
| This is required to distinguish between cooked and raw byte string literals in an `ast::LitKind`, without referring to an adjacent `token::Lit`. It's a prerequisite for the next commit. | ||||
| 2022-12-02 | Rename `LitKind::to_token_lit` as `LitKind::synthesize_token_lit`. | Nicholas Nethercote | -1/+1 | |
| This makes it clearer that it's not a lossless conversion, which I find helpful. | ||||
| 2022-12-01 | Remove useless borrows and derefs | Maybe Waffle | -15/+15 | |
| 2022-12-01 | rustc_ast_lowering: Stop lowering imports into multiple items | Vadim Petrochenkov | -1/+1 | |
| Lower them into a single item with multiple resolutions instead. This also allows to remove additional `NodId`s and `DefId`s related to those additional items. | ||||
