hir: lower ImplicitSelf to resolved Self TyQPath's.
This commit is contained in:
parent
0807104c8f
commit
6ebb6fdbee
10 changed files with 106 additions and 183 deletions
|
|
@ -12,5 +12,6 @@
|
|||
|
||||
|
||||
|
||||
fn foo_method(&self) -> &'static str { return "i am very similar to foo."; }
|
||||
/* nest::{{impl}}::foo_method */
|
||||
fn foo_method(self: &Self)
|
||||
-> &'static str { return "i am very similar to foo."; } /*
|
||||
nest::{{impl}}::foo_method */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue