about summary refs log tree commit diff
path: root/src/tools/rust-analyzer/crates/syntax/rust.ungram
AgeCommit message (Collapse)AuthorLines
2025-03-08fix(hir): `VariantDef` is `impl HasSource`Prajwal S N-0/+5
A new syntax node `ast::VariantDef` has been introduced to map between the HIR node and the AST. The files have been updated with `cargo test -p xtask`. Signed-off-by: Prajwal S N <prajwalnadig21@gmail.com>
2025-03-01Cleanup string handling in syntax highlightingLukas Wirth-3/+3
2025-01-27feat: Implement `default-field-values`Shoyu Vanilla-1/+1
2024-12-18Fix AsmOption rule in rust.ungramArthur Baars-1/+1
2024-12-04Fix parsing of parenthesized type args and RTNLukas Wirth-1/+4
2024-10-27Put leading `|` in patterns under `OrPat`Chayim Refael Friedman-1/+1
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-22fix: Fix incorrect parsing of use boundsLukas Wirth-1/+8
Also lower them a bit more
2024-10-20feat: initial support for safe_kw in extern blocksroife-1/+2
2024-09-05Give InlineAsmOperand a HIR representationLukas Wirth-3/+5
2024-09-05Lower asm expressionsLukas Wirth-5/+3
2024-09-04Parse builtin#asm expressionsLukas Wirth-1/+26
2024-08-26Auto merge of #17941 - ChayimFriedman2:pre-closure-to-fn, r=Veykrilbors-1/+1
Preliminary work for #17940 I split the PR as requested, and made small commits.
2024-08-26Fix Return Type Syntax to include `..` (i.e. `method(..)` and not ↵Chayim Refael Friedman-1/+5
`method()`) as specified in the RFC
2024-08-24Add `gen` modifier to functionsChayim Refael Friedman-1/+1
We don't yet lower or maybe even parse them, but blocks already have `gen`, so why not.
2024-08-15internal: Properly check the edition for edition dependent syntax kindsLukas Wirth-14/+12
2024-07-24fix: `use` cannot have optional genericsWinston H.-1/+1
Co-authored-by: Lukas Wirth <lukastw97@gmail.com>
2024-07-23feat: add `use` type bound grammarwinstxnhdw-0/+1
2024-07-17string is not a keywordLukas Wirth-1/+1
2024-07-17Add always disabled gen parse supportLukas Wirth-2/+6
2024-07-17Derive kinds information from ungrammar fileLukas Wirth-60/+68
2024-05-06Implement unsafe attribute parsingLukas Wirth-2/+3
2024-04-18Fixup some issues with minicoreLukas Wirth-0/+1
2024-04-18Handle panicking like rustc CTFE doesNilstrieb-0/+701
Instead of using `core::fmt::format` to format panic messages, which may in turn panic too and cause recursive panics and other messy things, redirect `panic_fmt` to `const_panic_fmt` like CTFE, which in turn goes to `panic_display` and does the things normally. See the tests for the full call stack.