Skip to content

Commit f590f83

Browse files
committed
Include Self specifically in NameRef
1 parent 8199ed2 commit f590f83

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
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.16.0"
4+
version = "1.16.1"
55
license = "MIT OR Apache-2.0"
66
repository = "https://github.com/matklad/ungrammar"
77
edition = "2018"

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ Name =
2424
'ident' | 'self'
2525

2626
NameRef =
27-
'ident' | 'int_number' | 'self' | 'super' | 'crate'
27+
'ident' | 'int_number' | 'self' | 'super' | 'crate' | 'Self'
2828

2929
Lifetime =
3030
'lifetime_ident'

0 commit comments

Comments
 (0)