| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2025-01-28 | Merge pull request #19015 from Wilfred/mdbook | Lukas Wirth | -1/+1 | |
| manual: Convert to mdbook | ||||
| 2025-01-27 | feat: Implement `default-field-values` | Shoyu Vanilla | -15/+275 | |
| 2025-01-24 | manual: Convert to mdbook | Wilfred Hughes | -1/+1 | |
| Split manual.adoc into markdown files, one for each chapter. For the parts of the manual that are generated from source code doc comments, update the comments to use markdown syntax and update the code generators to write to `generated.md` files. For the weekly release, stop copying the .adoc files to the `rust-analyzer/rust-analyzer.github.io` at release time. Instead, we'll sync the manual hourly from this repository. See https://github.com/rust-analyzer/rust-analyzer.github.io/pull/226 for the sync. This PR should be merged first, and that PR needs to be merged before the next weekly release. This change is based on #15795, but rebased and updated. I've also manually checked each page for markdown syntax issues and fixed any I encountered. Co-authored-by: Lukas Wirth <lukastw97@gmail.com> Co-authored-by: Josh Rotenberg <joshrotenberg@gmail.com> | ||||
| 2025-01-17 | Merge pull request #18908 from jnyfah/error-braces | Lukas Wirth | -12/+637 | |
| Fix: Detect missing errors for } braces before else in let...else statements | ||||
| 2025-01-16 | CRLF to LF | jnyfah | -100/+115 | |
| 2025-01-16 | added tests | jnyfah | -0/+597 | |
| 2025-01-16 | revert blocklike changes | jnyfah | -8/+9 | |
| 2025-01-16 | update blocklike | jnyfah | -13/+10 | |
| 2025-01-16 | feat: complete raw, const keyword | lh123 | -3/+30 | |
| 2025-01-10 | Missing errors | jnyfah | -11/+26 | |
| 2025-01-06 | minor: New clippy lints | Lukas Wirth | -3/+3 | |
| 2024-12-30 | Add a function to convert a SyntaxKind to its text, where possible | Chayim Refael Friedman | -0/+325 | |
| This will also help for the make's quote macro. | ||||
| 2024-12-27 | fix doc typo | Erithax | -1/+1 | |
| 2024-12-20 | Fix a case where completion was unable to expand a macro | Chayim Refael Friedman | -59/+73 | |
| Which caused the macros of the popular `tracing` crate to not offer completions. The reason is rather complicated: it boils down to macro ignoring their input and completion always choosing the first expansion. | ||||
| 2024-12-11 | Properly handle different defaults for severity of lints | Chayim Refael Friedman | -79/+4 | |
| Previously all lints were assumed to be `#[warn]`, and we had a hand-coded list of `#[allow]` exceptions. Now the severity is autogenerated from rustdoc output. Also support lints that change status between editions, and the `warnings` lint group. | ||||
| 2024-12-06 | Merge pull request #18625 from Veykril/push-npnxwpxuzlqz | Lukas Wirth | -4/+71 | |
| fix: Fix parser getting stuck for bad asm expressions | ||||
| 2024-12-06 | fix: Fix parser getting stuck for bad asm expressions | Lukas Wirth | -4/+71 | |
| 2024-12-05 | fix: Fix parsing of dyn T in generic arg on 2015 edition | Lukas Wirth | -3/+68 | |
| 2024-12-05 | Parse lifetime bounds in lifetime param into TypeBoundList | Lukas Wirth | -38/+66 | |
| This mainly aids in error recovery but also makes it a bit easier to handle lifetime resolution. While doing so it also came apparent that we were not actually lowering lifetime outlives relationships within lifetime parameter declaration bounds, so this fixes that. | ||||
| 2024-12-05 | fix: Fix parsing of integer/keyword name refs in various places | Lukas Wirth | -132/+350 | |
| 2024-12-04 | Fix parsing of parenthesized type args and RTN | Lukas Wirth | -646/+920 | |
| 2024-12-04 | fix: Don't create empty path nodes | Lukas Wirth | -24/+26 | |
| 2024-12-04 | Better parser recovery for incomplete attributes | Lukas Wirth | -19/+130 | |
| 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`. | ||||
