diff options
author | Aleksey Kladov <[email protected]> | 2018-08-23 17:07:33 +0100 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2018-08-23 17:07:33 +0100 |
commit | a077533513de5018e227c740a470e18652b63172 (patch) | |
tree | 1b1d109942e916e441136d79b93cd00cd0463bbf /crates/libsyntax2/tests/data/parser/inline/0104_arb_self_types.rs | |
parent | 8d82d1551ee09faa5d46a58c17c40c2515d3f3b9 (diff) |
Allow arbitrary self-types
Diffstat (limited to 'crates/libsyntax2/tests/data/parser/inline/0104_arb_self_types.rs')
-rw-r--r-- | crates/libsyntax2/tests/data/parser/inline/0104_arb_self_types.rs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/crates/libsyntax2/tests/data/parser/inline/0104_arb_self_types.rs b/crates/libsyntax2/tests/data/parser/inline/0104_arb_self_types.rs new file mode 100644 index 000000000..2bf2a69f6 --- /dev/null +++ b/crates/libsyntax2/tests/data/parser/inline/0104_arb_self_types.rs | |||
@@ -0,0 +1,4 @@ | |||
1 | impl S { | ||
2 | fn a(self: &Self) {} | ||
3 | fn b(self: Box<Self>) {} | ||
4 | } | ||