diff options
author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2020-06-04 18:51:03 +0100 |
---|---|---|
committer | GitHub <[email protected]> | 2020-06-04 18:51:03 +0100 |
commit | e66c7b3a453e7b7385f103ae7f1f3f7438bdb31b (patch) | |
tree | 4a71b164a5b2e97cf219d7cfcd926b9119b6f646 /crates/ra_syntax/test_data/parser/inline/ok | |
parent | c19496f845a4adcd7e0f48f5dcb5b405bbc63dfc (diff) | |
parent | c4fd46398132a409d7947141094d7301c0f0af73 (diff) |
Merge #4737
4737: Parse default unsafe & default const r=matklad a=Avi-D-coder
Closes: #4718 #4264
Co-authored-by: Avi Dessauer <[email protected]>
Diffstat (limited to 'crates/ra_syntax/test_data/parser/inline/ok')
-rw-r--r-- | crates/ra_syntax/test_data/parser/inline/ok/0163_default_unsafe_impl.rast | 18 | ||||
-rw-r--r-- | crates/ra_syntax/test_data/parser/inline/ok/0163_default_unsafe_impl.rs | 1 |
2 files changed, 19 insertions, 0 deletions
diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0163_default_unsafe_impl.rast b/crates/ra_syntax/test_data/parser/inline/ok/0163_default_unsafe_impl.rast new file mode 100644 index 000000000..a9eda5668 --- /dev/null +++ b/crates/ra_syntax/test_data/parser/inline/ok/0163_default_unsafe_impl.rast | |||
@@ -0,0 +1,18 @@ | |||
1 | [email protected] | ||
2 | [email protected] | ||
3 | [email protected] "default" | ||
4 | [email protected] " " | ||
5 | [email protected] "unsafe" | ||
6 | [email protected] " " | ||
7 | [email protected] "impl" | ||
8 | [email protected] " " | ||
9 | [email protected] | ||
10 | [email protected] | ||
11 | [email protected] | ||
12 | [email protected] | ||
13 | [email protected] "Foo" | ||
14 | [email protected] " " | ||
15 | [email protected] | ||
16 | [email protected] "{" | ||
17 | [email protected] "}" | ||
18 | [email protected] "\n" | ||
diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0163_default_unsafe_impl.rs b/crates/ra_syntax/test_data/parser/inline/ok/0163_default_unsafe_impl.rs new file mode 100644 index 000000000..ba0998ff4 --- /dev/null +++ b/crates/ra_syntax/test_data/parser/inline/ok/0163_default_unsafe_impl.rs | |||
@@ -0,0 +1 @@ | |||
default unsafe impl Foo {} | |||