Skip to content

Infer length of @-box borrows (or just borrow for the whole block) #2575

@pcwalton

Description

@pcwalton

It would be very nice if we could borrow for the whole block when borrowing an @ when passing it as a function parameter.

Also if we could say what we think the liveness ranges are that would help the error messages.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions