diff options
author | bors[bot] <bors[bot]@users.noreply.github.com> | 2019-02-02 08:20:50 +0000 |
---|---|---|
committer | bors[bot] <bors[bot]@users.noreply.github.com> | 2019-02-02 08:20:50 +0000 |
commit | da3802b2ce4796461a9fff22f4e9c6fd890879b2 (patch) | |
tree | b3df38ae7b749178d854be9f2e6b16070a373216 /crates/ra_syntax/src/grammar.ron | |
parent | 4447019f4b5f24728bb7b91b161755ddb373c74c (diff) | |
parent | d8ef8acb47b1be92da97a2d5cd4334bceed5b919 (diff) |
Merge #725
725: Implement `use as` r=matklad a=flodiebold
Co-authored-by: Florian Diebold <[email protected]>
Diffstat (limited to 'crates/ra_syntax/src/grammar.ron')
-rw-r--r-- | crates/ra_syntax/src/grammar.ron | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/crates/ra_syntax/src/grammar.ron b/crates/ra_syntax/src/grammar.ron index 47334bdf0..a2ccd7cb9 100644 --- a/crates/ra_syntax/src/grammar.ron +++ b/crates/ra_syntax/src/grammar.ron | |||
@@ -593,7 +593,10 @@ Grammar( | |||
593 | options: [ "UseTree" ] | 593 | options: [ "UseTree" ] |
594 | ), | 594 | ), |
595 | "UseTree": ( | 595 | "UseTree": ( |
596 | options: [ "Path", "UseTreeList" ] | 596 | options: [ "Path", "UseTreeList", "Alias" ] |
597 | ), | ||
598 | "Alias": ( | ||
599 | traits: ["NameOwner"], | ||
597 | ), | 600 | ), |
598 | "UseTreeList": ( | 601 | "UseTreeList": ( |
599 | collections: [["use_trees", "UseTree"]] | 602 | collections: [["use_trees", "UseTree"]] |