aboutsummaryrefslogtreecommitdiff
path: root/crates/syntax/test_data
diff options
context:
space:
mode:
authorLukas Wirth <[email protected]>2021-01-18 18:50:13 +0000
committerLukas Wirth <[email protected]>2021-01-18 19:18:02 +0000
commitb26002410b5acda8d0e1322071881cdb8a2b6724 (patch)
tree74850f9de3f7e9ad16c179e518cde3df0a936a71 /crates/syntax/test_data
parent6105dbfc2ee811f23255e74c45450c50cc155e85 (diff)
Parse `impl const Trait`
Diffstat (limited to 'crates/syntax/test_data')
-rw-r--r--crates/syntax/test_data/parser/inline/ok/0161_impl_def_const.rast24
-rw-r--r--crates/syntax/test_data/parser/inline/ok/0161_impl_def_const.rs1
2 files changed, 25 insertions, 0 deletions
diff --git a/crates/syntax/test_data/parser/inline/ok/0161_impl_def_const.rast b/crates/syntax/test_data/parser/inline/ok/0161_impl_def_const.rast
new file mode 100644
index 000000000..dcd39535b
--- /dev/null
+++ b/crates/syntax/test_data/parser/inline/ok/0161_impl_def_const.rast
@@ -0,0 +1,24 @@
1[email protected]
2 [email protected]
3 [email protected] "impl"
4 [email protected] " "
5 [email protected] "const"
6 [email protected] " "
7 [email protected]
8 [email protected]
9 [email protected]
10 [email protected]
11 [email protected] "Send"
12 [email protected] " "
13 [email protected] "for"
14 [email protected] " "
15 [email protected]
16 [email protected]
17 [email protected]
18 [email protected]
19 [email protected] "X"
20 [email protected] " "
21 [email protected]
22 [email protected] "{"
23 [email protected] "}"
24 [email protected] "\n"
diff --git a/crates/syntax/test_data/parser/inline/ok/0161_impl_def_const.rs b/crates/syntax/test_data/parser/inline/ok/0161_impl_def_const.rs
new file mode 100644
index 000000000..8d6886469
--- /dev/null
+++ b/crates/syntax/test_data/parser/inline/ok/0161_impl_def_const.rs
@@ -0,0 +1 @@
impl const Send for X {}