| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2022-05-02 | fix most compiler/ doctests | Elliot Roberts | -11/+11 | |
| 2022-04-28 | rustc_ast: Harmonize delimiter naming with `proc_macro::Delimiter` | Vadim Petrochenkov | -14/+14 | |
| 2022-03-26 | Stablize `const_extern_fn` for "Rust" and "C" | Aaron Hill | -0/+3 | |
| All other ABIs are left unstable for now. cc #64926 | ||||
| 2022-03-04 | Do not recover from `Ty?` in macro parsing | Esteban Kuber | -11/+23 | |
| Follow up to #92746. Address #94510. | ||||
| 2022-02-23 | rustc_errors: let `DiagnosticBuilder::emit` return a "guarantee of emission". | Eduard-Mihai Burtescu | -1/+2 | |
| 2022-01-14 | Parse `Ty?` as `Option<Ty>` and provide structured suggestion | Esteban Kuber | -0/+26 | |
| Swift has specific syntax that desugars to `Option<T>` similar to our `?` operator, which means that people might try to use it in Rust. Parse it and gracefully recover. | ||||
| 2021-12-13 | Use Inherited Visibility instead of None when no vis is present | Alexis Bourget | -1/+6 | |
| 2021-12-13 | Change error for pub in fn decl if already present | Alexis Bourget | -1/+2 | |
| 2021-11-24 | Account for incorrect `impl Foo<const N: ty> {}` syntax | Esteban Küber | -6/+32 | |
| Fix #84946 | ||||
| 2021-10-17 | Some "parenthesis" and "parentheses" fixes | r00ster91 | -1/+1 | |
| 2021-09-09 | Revert "Implement Anonymous{Struct, Union} in the AST" | Felix S. Klock II | -13/+0 | |
| This reverts commit 059b68dd677808e14e560802d235ad40beeba71e. Note that this was manually adjusted to retain some of the refactoring introduced by commit 059b68dd677808e14e560802d235ad40beeba71e, so that it could likewise retain the correction introduced in commit 5b4bc05fa57be19bb5962f4b7c0f165e194e3151 | ||||
| 2021-08-27 | Introduce `~const` | Deadbeef | -26/+20 | |
| - [x] Removed `?const` and change uses of `?const` - [x] Added `~const` to the AST. It is gated behind const_trait_impl. - [x] Validate `~const` in ast_validation. - [ ] Add enum `BoundConstness` to the HIR. (With variants `NotConst` and `ConstIfConst` allowing future extensions) - [ ] Adjust trait selection and pre-existing code to use `BoundConstness`. - [ ] Optional steps (*for this PR, obviously*) - [ ] Fix #88155 - [ ] Do something with constness bounds in chalk | ||||
| 2021-07-02 | Recover from `&dyn mut ...` parse errors | Fabian Wolff | -1/+21 | |
| 2021-06-04 | Remove incorrect assertion in type parsing code | Fabian Wolff | -1/+0 | |
| 2021-05-16 | Implement Anonymous{Struct, Union} in the AST | jedel1043 | -0/+13 | |
| Add unnamed_fields feature gate and gate unnamed fields on parsing | ||||
| 2021-05-03 | Handle incorrect placement of parentheses in trait bounds more gracefully | Esteban Küber | -3/+36 | |
| Fix #84772. | ||||
| 2021-03-17 | Add pub as optional check_front_matter | Ivan Tham | -2/+2 | |
| async-pub check created a regression for default | ||||
| 2021-02-27 | Recover from X<Y,Z> when parsing const expr | Ömer Sinan Ağacan | -2/+10 | |
| This adds recovery when in array type syntax user writes [X; Y<Z, ...>] instead of [X; Y::<Z, ...>] Fixes #82566 Note that whenever we parse an expression and know that the next token cannot be `,`, we should be calling check_mistyped_turbofish_with_multiple_type_params for this recovery. Previously we only did this for statement parsing (e.g. `let x = f<a, b>;`). We now also do it when parsing the length field in array type syntax. | ||||
| 2020-12-17 | Address review comments | mibac138 | -7/+21 | |
| 2020-12-03 | Gracefully handle confusing -> with : in function return type | mibac138 | -13/+65 | |
| 2020-12-01 | Gracefully handle mistyping -> as => in function return type | mibac138 | -0/+21 | |
| 2020-10-25 | Tweak invalid `fn` header and body parsing | Esteban Küber | -1/+13 | |
| * Recover empty `fn` bodies when encountering `}` * Recover trailing `>` in return types * Recover from non-type in array type `[<BAD TOKEN>; LEN]` | ||||
| 2020-09-21 | fix typo in docs and comments | yuk1ty | -1/+1 | |
| 2020-09-15 | improve diagnostics for lifetime after `&mut` | SNCPlay42 | -1/+27 | |
| 2020-09-10 | Attach `TokenStream` to `ast::Ty` | Aaron Hill | -1/+1 | |
| A `Ty` does not have outer attributes, so we only capture tokens when parsing a `macro_rules!` matcher | ||||
| 2020-08-30 | mv compiler to compiler/ | mark | -0/+631 | |
