Patrick Walton b808cfbb74 rustc: Don't translate the expression twice when adapting a borrowed method receiver. Closes #3357.
Adds a test case. I had to stare at this one for a bit.
2012-09-02 16:51:05 -07:00
..
2012-08-29 18:25:22 -07:00
2012-08-26 15:56:16 -07:00
2012-08-29 15:34:38 -07:00
2012-08-29 18:25:22 -07:00
2012-08-26 15:56:16 -07:00
2012-08-29 18:25:22 -07:00
2012-08-29 13:26:52 -07:00
2012-08-29 18:25:22 -07:00
2012-08-29 13:26:52 -07:00
2012-08-26 15:56:16 -07:00
2012-08-29 18:25:22 -07:00
2012-08-29 18:25:22 -07:00
2012-08-29 13:26:52 -07:00
2012-08-29 18:25:22 -07:00
2012-09-01 18:18:29 -07:00
2012-08-29 13:26:52 -07:00