aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_syntax/tests/data/parser/inline/ok/0115_pos_field_attrs.rs
diff options
context:
space:
mode:
authorbors[bot] <bors[bot]@users.noreply.github.com>2019-01-12 15:47:48 +0000
committerbors[bot] <bors[bot]@users.noreply.github.com>2019-01-12 15:47:48 +0000
commit8033c81acc93a376fbbecae6962ce35a0021aa8a (patch)
treeec45b93ee97ff1ba3ad7d5c773d767d421b2b554 /crates/ra_syntax/tests/data/parser/inline/ok/0115_pos_field_attrs.rs
parent52ec6edf552d6b389af04649227fdea773e25138 (diff)
parent0b9e462ab0c6d74fd0bb34d9b9101132373e65a3 (diff)
Merge #507
507: Fix handling of attributes in positional field lists r=matklad a=DJMcNab First reported by @max-frai. This allows us to properly handle crates using e.g. `#[Derive(fail)]` with `#[fail(cause)]`, among other cases. Co-authored-by: DJMcNab <[email protected]>
Diffstat (limited to 'crates/ra_syntax/tests/data/parser/inline/ok/0115_pos_field_attrs.rs')
-rw-r--r--crates/ra_syntax/tests/data/parser/inline/ok/0115_pos_field_attrs.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/crates/ra_syntax/tests/data/parser/inline/ok/0115_pos_field_attrs.rs b/crates/ra_syntax/tests/data/parser/inline/ok/0115_pos_field_attrs.rs
new file mode 100644
index 000000000..635b9ac21
--- /dev/null
+++ b/crates/ra_syntax/tests/data/parser/inline/ok/0115_pos_field_attrs.rs
@@ -0,0 +1,4 @@
1struct S (
2 #[serde(with = "url_serde")]
3 pub Uri,
4);