Skip to content

Derefs of newtypes give the wrong mutability #2980

Closed
@nikomatsakis

Description

@nikomatsakis

Derefs of newtypes should inherit the mutability of their container, just as record fields do. I have a fix for this but haven't committed it yet.

Metadata

Metadata

Assignees

Labels

A-lifetimesArea: Lifetimes / regions

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions