diff options
author | Aleksey Kladov <[email protected]> | 2018-07-31 18:48:45 +0100 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2018-07-31 18:48:45 +0100 |
commit | f4c106f86a4fbb91f36aac59a6a98fff9d3c5c40 (patch) | |
tree | 6d81877635b5b0c05553f9535322c3edb1d8639b /tests/data/parser/inline/0055_self_param.rs | |
parent | 599ca1ad890f7b8e1e3919f1727c21dad353f595 (diff) |
Lifetimes in self param
Diffstat (limited to 'tests/data/parser/inline/0055_self_param.rs')
-rw-r--r-- | tests/data/parser/inline/0055_self_param.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/data/parser/inline/0055_self_param.rs b/tests/data/parser/inline/0055_self_param.rs index 2890c27e2..7bb1ca50c 100644 --- a/tests/data/parser/inline/0055_self_param.rs +++ b/tests/data/parser/inline/0055_self_param.rs | |||
@@ -1,5 +1,6 @@ | |||
1 | impl S { | 1 | impl S { |
2 | fn a(self) {} | 2 | fn a(self) {} |
3 | fn b(&self,) {} | 3 | fn b(&self,) {} |
4 | fn c(&mut self, x: i32) {} | 4 | fn c(&'a self,) {} |
5 | fn d(&'a mut self, x: i32) {} | ||
5 | } | 6 | } |