diff options
Diffstat (limited to 'crates/ra_syntax/tests/data/parser/inline/ok/0008_path_part.rs')
-rw-r--r-- | crates/ra_syntax/tests/data/parser/inline/ok/0008_path_part.rs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/crates/ra_syntax/tests/data/parser/inline/ok/0008_path_part.rs b/crates/ra_syntax/tests/data/parser/inline/ok/0008_path_part.rs new file mode 100644 index 000000000..f6e32c7c1 --- /dev/null +++ b/crates/ra_syntax/tests/data/parser/inline/ok/0008_path_part.rs | |||
@@ -0,0 +1,6 @@ | |||
1 | fn foo() { | ||
2 | let foo::Bar = (); | ||
3 | let ::Bar = (); | ||
4 | let Bar { .. } = (); | ||
5 | let Bar(..) = (); | ||
6 | } | ||