about summary refs log tree commit diff
path: root/src/test
diff options
context:
space:
mode:
authorEduard-Mihai Burtescu <edy.burt@gmail.com>2016-12-04 03:18:11 +0200
committerEduard-Mihai Burtescu <edy.burt@gmail.com>2016-12-28 11:21:45 +0200
commit6ebb6fdbee7f0d250e50e4d84d9aede293cf3bb3 (patch)
treef40bc78586832c7af3feca2507fbc1a2b8b2316b /src/test
parent0807104c8fa90b084748940f7a7980b5a765264e (diff)
downloadrust-6ebb6fdbee7f0d250e50e4d84d9aede293cf3bb3.tar.gz
rust-6ebb6fdbee7f0d250e50e4d84d9aede293cf3bb3.zip
hir: lower `ImplicitSelf` to resolved `Self` TyQPath's.
Diffstat (limited to 'src/test')
-rw-r--r--src/test/run-make/pretty-print-path-suffix/foo_method.pp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/test/run-make/pretty-print-path-suffix/foo_method.pp b/src/test/run-make/pretty-print-path-suffix/foo_method.pp
index 696e0544fdc..fae13498687 100644
--- a/src/test/run-make/pretty-print-path-suffix/foo_method.pp
+++ b/src/test/run-make/pretty-print-path-suffix/foo_method.pp
@@ -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 */