Skip to content

Commit 1c82b88

Browse files
10: Allow type aliases in extern blocks r=jonas-schievink a=jonas-schievink This is for the unstable feature #43467, which rustc uses internally Co-authored-by: Jonas Schievink <jonasschievink@gmail.com>
2 parents 4d441ca + 3c19796 commit 1c82b88

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

src/tools/rust-analyzer/lib/ungrammar/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[package]
22
name = "ungrammar"
33
description = "A DSL for describing concrete syntax trees"
4-
version = "1.1.2"
4+
version = "1.1.3"
55
license = "MIT OR Apache-2.0"
66
repository = "https://github.com/matklad/ungrammar"
77
authors = ["Aleksey Kladov <aleksey.kladov@gmail.com>"]

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)