about summary refs log tree commit diff
path: root/src/test/compile-fail/ret-by-reference-wrong-param.rs
AgeCommit message (Collapse)AuthorLines
2011-11-23Rollback return-by-referenceMarijn Haverbeke-7/+0
It's proving too inflexible, so I'm ripping out the extra complexity in the hope that regions will, at some point, provide something similar. Closes #918
2011-09-16Change convention for specifying referenced argumentMarijn Haverbeke-1/+1
It is now 1-based, rather than 0 based. (Seems more natural, and allows 0 to be used to refer to self and maybe to closure.) Also allows non-referenced args to be implicitly copied again. Issue #918
2011-09-15Add tests for returning by referenceMarijn Haverbeke-0/+7
Issue #918