aboutsummaryrefslogtreecommitdiff
path: root/tests/data/parser/inline/0072_path_part.rs
diff options
context:
space:
mode:
authorAleksey Kladov <[email protected]>2018-08-04 13:47:45 +0100
committerAleksey Kladov <[email protected]>2018-08-04 13:47:45 +0100
commit4e4ad3d27cd662b790395b61f3cda560fd4e2146 (patch)
tree51cce768f964e66771694800cede65d01f7664ec /tests/data/parser/inline/0072_path_part.rs
parent8f1c64505574f60c805c5b4a32e55e818b9e0eee (diff)
tuple patterns
Diffstat (limited to 'tests/data/parser/inline/0072_path_part.rs')
-rw-r--r--tests/data/parser/inline/0072_path_part.rs6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/data/parser/inline/0072_path_part.rs b/tests/data/parser/inline/0072_path_part.rs
new file mode 100644
index 000000000..f6e32c7c1
--- /dev/null
+++ b/tests/data/parser/inline/0072_path_part.rs
@@ -0,0 +1,6 @@
1fn foo() {
2 let foo::Bar = ();
3 let ::Bar = ();
4 let Bar { .. } = ();
5 let Bar(..) = ();
6}