Skip to content

RFC: Rvalue lifetimes #3511

Closed
Closed
@nikomatsakis

Description

@nikomatsakis

We need to clarify our story on rvalues. @graydon, @bblum and I have discussed this. I wrote up my latest thoughts on the situation more here:

http://smallcultfollowing.com/babysteps/blog/2012/09/15/rvalue-lifetimes/

Currently I am tending towards the "DWIM"-style rule (obviously I'd have to spell it out more specifically). I was thinking that a purely inference-based solution, while flexible, seems less specifiable. Or rather, to standardize it, you'd have to specify the inference technique, which seems undesirable.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions