Skip to content

Forbid coercing &T to &mut T #21424

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Merged
merged 1 commit into from
Jan 21, 2015
Merged

Forbid coercing &T to &mut T #21424

merged 1 commit into from
Jan 21, 2015

Conversation

sanxiyn
Copy link
Member

@sanxiyn sanxiyn commented Jan 20, 2015

This is caught in borrowck now, but catching in typeck is faster and improves diagnostics.

cc #17561.

r? @nikomatsakis

@nikomatsakis
Copy link
Contributor

@bors: r+ 5cd9a69

@nikomatsakis
Copy link
Contributor

@bors: rollup

barosl added a commit to barosl/rust that referenced this pull request Jan 20, 2015
This is caught in borrowck now, but catching in typeck is faster and improves diagnostics.

CC rust-lang#17561.

r? @nikomatsakis
@bors bors merged commit 5cd9a69 into rust-lang:master Jan 21, 2015
@sanxiyn sanxiyn deleted the coerce-mut branch January 21, 2015 09:32
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants