about summary refs log tree commit diff
path: root/src/libstd
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2018-08-19 17:44:43 +0000
committerbors <bors@rust-lang.org>2018-08-19 17:44:43 +0000
commit3ac79c718475fd29b8be34dde667b683390c2aee (patch)
tree3d44b05190197268e01ddb7a245106cfda35e825 /src/libstd
parentbfc3b20663e1abfff0499332f9168f60c3269c33 (diff)
parent58e4b54bd49a2a554ee8a573827b9ccbf7a9b65e (diff)
downloadrust-3ac79c718475fd29b8be34dde667b683390c2aee.tar.gz
rust-3ac79c718475fd29b8be34dde667b683390c2aee.zip
Auto merge of #53258 - nikomatsakis:issue-53189-optimize-reassignment-immutable-state, r=pnkfelix
optimize reassignment immutable state

This is the "simple fix" when it comes to checking for reassignment. We just shoot for compatibility with the AST-based checker. Makes no attempt to solve #21232.

I opted for this simpler fix because I didn't want to think about complications [like the ones described here](https://github.com/rust-lang/rust/issues/21232#issuecomment-412219247).

Let's do some profiling measurements.

Fixes #53189

r? @pnkfelix
Diffstat (limited to 'src/libstd')
0 files changed, 0 insertions, 0 deletions