aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_parser/src/grammar
Commit message (Collapse)AuthorAgeFilesLines
* Cleanup parser modifiers testsAleksey Kladov2020-08-121-54/+8
|
* Allow default everywhereAleksey Kladov2020-08-123-35/+21
| | | | closes #5681
* Deny clippyAleksey Kladov2020-08-121-1/+0
|
* Update grammarAleksey Kladov2020-08-011-3/+3
|
* Rename DotDotPat -> RestPatAleksey Kladov2020-07-311-2/+2
|
* Rename BindPat -> IdentPatAleksey Kladov2020-07-311-1/+1
|
* Rename PalceholderPat -> WildcardPatAleksey Kladov2020-07-311-1/+1
|
* Allign RecordPat with RecordExprAleksey Kladov2020-07-311-2/+2
|
* Fix const arguments grammarAleksey Kladov2020-07-311-1/+1
|
* Rename TypeArgList -> GenericArgListAleksey Kladov2020-07-311-1/+1
|
* Rename LambdaExpr -> ClosureExprAleksey Kladov2020-07-311-1/+1
|
* Reame PlaceholderType -> InferTypeAleksey Kladov2020-07-311-1/+1
|
* Finalize impl GrammarAleksey Kladov2020-07-301-1/+1
|
* Finalize Trait grammarAleksey Kladov2020-07-301-1/+1
|
* Finalize const&static grammarAleksey Kladov2020-07-301-2/+2
|
* Rename EnumVariant -> VariantAleksey Kladov2020-07-301-2/+2
|
* Rename EnumDef -> EnumAleksey Kladov2020-07-301-1/+1
|
* Rename StructDef -> StructAleksey Kladov2020-07-301-1/+1
|
* Finalize union grammarAleksey Kladov2020-07-301-1/+1
|
* Rename FieldDef -> FieldAleksey Kladov2020-07-301-4/+4
|
* Rename RecordLit -> RecordExprAleksey Kladov2020-07-301-3/+3
|
* Rename TypeParamList -> GenericParamListAleksey Kladov2020-07-301-1/+1
|
* Rename TypeAliasDef -> TypeAliasAleksey Kladov2020-07-301-1/+1
|
* Rename FnDef -> FnAleksey Kladov2020-07-301-1/+1
|
* Rename UseItem -> UseAleksey Kladov2020-07-301-1/+1
|
* Finish extern crates grammarAleksey Kladov2020-07-301-1/+1
|
* Split ItemList & AssocItemListAleksey Kladov2020-07-301-2/+2
|
* Fix nameref parsingAleksey Kladov2020-07-281-1/+7
|
* Simlify with matches!()Veetaha2020-06-282-8/+2
|
* Fix panic in split and merge import assistsLaurențiu Nicola2020-06-231-0/+8
|
* Allow attributes on expressionsAleksey Kladov2020-06-151-4/+2
| | | | https://github.com/rust-lang/rust/pull/69201/
* Add example of old trait object syntaxMatthew Jasper2020-06-111-0/+1
|
* Move complex inline test to own fileMatthew Jasper2020-06-111-16/+0
|
* Separating parsing of `for` in predicates and typesMatthew Jasper2020-06-102-8/+29
|
* Correctly parse <_> paths in patternsAleksey Kladov2020-06-091-2/+4
| | | | closes #3659
* Minor, use `T!`Aleksey Kladov2020-06-092-2/+2
|
* Update crates/ra_parser/src/grammar/items.rsAleksey Kladov2020-06-091-2/+1
|
* Parse default unsafe fnAvi Dessauer2020-06-081-1/+7
|
* Move default const test out of lineAvi Dessauer2020-06-041-10/+0
|
* Address reviewAvi Dessauer2020-06-041-5/+4
|
* Parse default unsafe & default constAvi Dessauer2020-06-041-1/+25
|
* Support raw_ref_op's raw reference operatorrobojumper2020-05-281-1/+15
|
* Fix parsing of blocks without `{`Aleksey Kladov2020-05-024-34/+26
|
* Cleanup inline testsAleksey Kladov2020-05-021-2/+4
|
* Introduce EffectExprAleksey Kladov2020-05-022-22/+20
|
* Revert "Merge #4233"Aleksey Kladov2020-05-021-3/+3
| | | | | This reverts commit a5f2b16366f027ad60c58266a66eb7fbdcbda9f9, reversing changes made to c96b2180c1c4206a0a98c280b4d30897eb116336.
* Remove dead code, which elaborately pretends to be aliveAleksey Kladov2020-04-301-3/+3
|
* Merge #4227bors[bot]2020-04-301-1/+1
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 4227: Report invalid, nested, multi-segment crate-paths r=matklad a=djrenren There was a bug in the previous path-validating code that didn't detect multi-segment paths that started with `crate`. ```rust // Successfully reported use foo::{crate}; // BUG: was not being reported use foo::{crate::bar}; ``` This was due to my confusion about path-associativity. That is, the path with no qualifier is the innermost path, not the outermost. I've updated the code with a lot of comments to explain what's going on. This bug was discovered when I found an erroneous `ok` test which I reported here: https://github.com/rust-analyzer/rust-analyzer/issues/4226 This test now fails and has been modified, hopefully in the spirit of the original test, to be correct. Sorry about submitting the bug in the first place! Co-authored-by: John Renner <[email protected]>
| * Report invalid, nested, multi-segment crate-pathsJohn Renner2020-04-301-1/+1
| | | | | | | | | | | | | | | | | | | | Specifically, things like: use foo::{crate::bar}; Are now being caught, when before we only caught: use foo::{crate};
* | Special-case try macro_rulesEdwin Cheng2020-04-301-0/+11
|/