hir: lower ImplicitSelf to resolved Self TyQPath's.

This commit is contained in:
Eduard-Mihai Burtescu 2016-12-04 03:18:11 +02:00
parent 0807104c8f
commit 6ebb6fdbee
10 changed files with 106 additions and 183 deletions

View file

@ -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 */