| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2024-11-19 | Remove `TokenKind::InvalidPrefix`. | Nicholas Nethercote | -1/+1 | |
| It was added in #123752 to handle some cases involving emoji, but it isn't necessary because it's always treated the same as `TokenKind::InvalidIdent`. This commit removes it, which makes things a little simpler. | ||||
| 2024-10-31 | Parse patterns with leading pipe properly in all places | Chayim Refael Friedman | -16/+73 | |
| 2024-10-30 | Only parse `safe` as contextual kw in extern blocks | Chayim Refael Friedman | -8/+47 | |
| I don't like the party of `bool`s that is becoming, but two isn't worth a refactoring yet IMO. | ||||
| 2024-10-27 | Merge pull request #18419 from ChayimFriedman2/leading-or | Lukas Wirth | -30/+67 | |
| fix: Put leading `|` in patterns under `OrPat` | ||||
| 2024-10-27 | Put leading `|` in patterns under `OrPat` | Chayim Refael Friedman | -30/+67 | |
| Previously it was one level above, and that caused problems with macros that expand to it, because macros expect to get only one top-level node. | ||||
| 2024-10-27 | Correctly handle `#""` in edition <2024 | Chayim Refael Friedman | -7/+30 | |
| 2024-10-22 | Auto merge of #18371 - Veykril:veykril/push-kwttrusywysp, r=Veykril | bors | -10/+35 | |
| fix: Fix incorrect parsing of use bounds Fixes https://github.com/rust-lang/rust-analyzer/issues/18357 | ||||
| 2024-10-22 | fix: Fix incorrect parsing of use bounds | Lukas Wirth | -10/+35 | |
| Also lower them a bit more | ||||
| 2024-10-22 | Fix new nightly lints | Lukas Wirth | -3/+2 | |
| 2024-10-21 | fix: classify `safe` as a contextual kw | roife | -7/+7 | |
| 2024-10-20 | feat: initial support for safe_kw in extern blocks | roife | -1/+236 | |
| 2024-10-17 | Bump rustc crates | Laurențiu Nicola | -2/+3 | |
| 2024-10-17 | Merge from rust-lang/rust | Laurențiu Nicola | -0/+6 | |
| 2024-10-08 | Reserve guarded string literals (RFC 3593) | Peter Jaszkowiak | -0/+6 | |
| 2024-10-01 | fix: correctly parse `use` in generic parameters | SabrinaJewson | -1/+29 | |
| 2024-09-25 | Run rustfmt | Laurențiu Nicola | -3/+1 | |
| 2024-09-25 | Merge from rust-lang/rust | Laurențiu Nicola | -0/+7 | |
| 2024-09-06 | Fix tools | Michael Goulet | -0/+7 | |
| 2024-09-05 | fix: Fix parser panicking on invalid asm options | Lukas Wirth | -0/+1 | |
| 2024-09-05 | asm! parsing and lowering fixes | Lukas Wirth | -7/+13 | |
| 2024-09-05 | Give InlineAsmOperand a HIR representation | Lukas Wirth | -29/+41 | |
| 2024-09-05 | Add Definition kind for asm register operand | Lukas Wirth | -18/+26 | |
| 2024-09-05 | Lower asm expressions | Lukas Wirth | -21/+17 | |
| 2024-09-04 | Parse builtin#asm expressions | Lukas Wirth | -10/+339 | |
| 2024-09-04 | Add edition dependent keyword highlighting tests | Lukas Wirth | -0/+6 | |
| 2024-08-26 | Fix Return Type Syntax to include `..` (i.e. `method(..)` and not ↵ | Chayim Refael Friedman | -15/+142 | |
| `method()`) as specified in the RFC | ||||
| 2024-08-16 | Properly account for editions in names | Chayim Refael Friedman | -0/+9 | |
| This PR touches a lot of parts. But the main changes are changing `hir_expand::Name` to be raw edition-dependently and only when necessary (unrelated to how the user originally wrote the identifier), and changing `is_keyword()` and `is_raw_identifier()` to be edition-aware (this was done in #17896, but the FIXMEs were fixed here). It is possible that I missed some cases, but most IDE parts should properly escape (or not escape) identifiers now. The rules of thumb are: - If we show the identifier to the user, its rawness should be determined by the edition of the edited crate. This is nice for IDE features, but really important for changes we insert to the source code. - For tests, I chose `Edition::CURRENT` (so we only have to (maybe) update tests when an edition becomes stable, to avoid churn). - For debugging tools (helper methods and logs), I used `Edition::LATEST`. | ||||
| 2024-08-15 | internal: Properly check the edition for edition dependent syntax kinds | Lukas Wirth | -48/+120 | |
| 2024-08-06 | Replace `[package.repository] = "…"` of published crates with ↵ | Vincent Esche | -1/+1 | |
| `[package.repository.workspace] = true` | ||||
| 2024-08-06 | Add repository URL for published crates' missing `[package.repository]` fields | Vincent Esche | -0/+1 | |
| 2024-08-06 | Replace `"TBD"` with more helpful desciptions in published crates' ↵ | Vincent Esche | -1/+1 | |
| `[package.description]` fields | ||||
| 2024-07-23 | fix: move `use` parsing to outer match arm | winstxnhdw | -18/+19 | |
| 2024-07-23 | chore: update codegens | winstxnhdw | -0/+73 | |
| 2024-07-23 | feat: add arm for `use` type bound | winstxnhdw | -0/+6 | |
| 2024-07-20 | Add missing dyn parse special cases in 2015 edition | Lukas Wirth | -70/+162 | |
| 2024-07-19 | Fix edition used for include macro parsing | Lukas Wirth | -1/+1 | |
| 2024-07-19 | Parse contextual dyn keyword properly in edition 2015 | Lukas Wirth | -8/+162 | |
| 2024-07-19 | Prevent generated runner module from being format checked | Lukas Wirth | -0/+1 | |
| 2024-07-19 | Parse `try` as a keyword only in edition 2018 and up | Lukas Wirth | -39/+21 | |
| 2024-07-19 | Add basic edition inline parser test support | Lukas Wirth | -153/+131 | |
| 2024-07-18 | Rewrite inline parser test infra to generated proper rust test cases | Lukas Wirth | -109/+839 | |
| 2024-07-18 | Encode edition within FileId in the hir layer | Lukas Wirth | -2/+5 | |
| 2024-07-17 | Support rustc_skip_during_method_dispatch | Lukas Wirth | -0/+4 | |
| 2024-07-17 | string is not a keyword | Lukas Wirth | -4/+11 | |
| 2024-07-17 | Add always disabled gen parse support | Lukas Wirth | -22/+272 | |
| 2024-07-17 | Derive kinds information from ungrammar file | Lukas Wirth | -235/+179 | |
| 2024-07-07 | Run codegen commands as tests if their results are commited | Lukas Wirth | -1/+1 | |
| 2024-07-07 | Move feature-doc generation to xtask codegen | Lukas Wirth | -1/+0 | |
| 2024-07-07 | Move parser test generation to xtask | Lukas Wirth | -125/+0 | |
| 2024-07-03 | Fix up the syntax tree for macro 2.0 | Lukas Wirth | -124/+118 | |
