Skip to content

Commit ca09035

Browse files
Allow type aliases in extern blocks
1 parent 4d441ca commit ca09035

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/tools/rust-analyzer/lib/ungrammar/rust.ungram

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -250,6 +250,7 @@ ExternItem =
250250
Fn
251251
| MacroCall
252252
| Static
253+
| TypeAlias
253254

254255
GenericParamList =
255256
'<' (GenericParam (',' GenericParam)* ','?)? '>'

0 commit comments

Comments
 (0)