aboutsummaryrefslogtreecommitdiff
path: root/crates/syntax/test_data/parser/inline/ok/0153_pub_parens_typepath.rs
diff options
context:
space:
mode:
authorArif Roktim <[email protected]>2020-10-23 07:06:04 +0100
committerArif Roktim <[email protected]>2020-10-24 07:20:45 +0100
commit0a9ff042709750d0e413c7a97bc6c4166d46a976 (patch)
tree3e48009455cf0314952dae08649b6e8f41605024 /crates/syntax/test_data/parser/inline/ok/0153_pub_parens_typepath.rs
parent8b3c851dd37f39f79e7e8807378f45fdde7f6411 (diff)
Don't interpret type path as part of visibility.
Diffstat (limited to 'crates/syntax/test_data/parser/inline/ok/0153_pub_parens_typepath.rs')
-rw-r--r--crates/syntax/test_data/parser/inline/ok/0153_pub_parens_typepath.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/crates/syntax/test_data/parser/inline/ok/0153_pub_parens_typepath.rs b/crates/syntax/test_data/parser/inline/ok/0153_pub_parens_typepath.rs
new file mode 100644
index 000000000..d4c163822
--- /dev/null
+++ b/crates/syntax/test_data/parser/inline/ok/0153_pub_parens_typepath.rs
@@ -0,0 +1,2 @@
1struct B(pub (super::A));
2struct B(pub (crate::A,));