]> git.lizzy.rs Git - rust.git/commit
librustc: Don't allow use after move of implicitly coerced object. Fixes #11481.
authorLuqman Aden <laden@csclub.uwaterloo.ca>
Mon, 13 Jan 2014 00:59:47 +0000 (19:59 -0500)
committerLuqman Aden <laden@csclub.uwaterloo.ca>
Tue, 14 Jan 2014 01:51:49 +0000 (20:51 -0500)
commit17f984c54b1bb5904dc4e833f69e7dbe83234d5a
treed18bc013b8e9a6b251c07026ca1d4e7f35237c6e
parentab66f762548228a9491de8c955141b8d62b1f5fa
librustc: Don't allow use after move of implicitly coerced object. Fixes #11481.
src/librustc/middle/mem_categorization.rs
src/test/compile-fail/use-after-move-implicity-coerced-object.rs [new file with mode: 0644]