]> git.lizzy.rs Git - rust.git/commit
Guarantee comm primitives are not Freeze
authorAlex Crichton <alex@alexcrichton.com>
Sun, 22 Dec 2013 05:54:05 +0000 (21:54 -0800)
committerAlex Crichton <alex@alexcrichton.com>
Sun, 22 Dec 2013 05:54:05 +0000 (21:54 -0800)
commit67c02222526d46875ddabfda1b7a936564f916ff
tree2b14716004d310e22fb1989c94fa6dd904692931
parentba801d8116616745ef3ca5c73682b440c1bda628
Guarantee comm primitives are not Freeze

None of these primitives should be Freeze because sharing them in an Arc is a
very bad idea.

Closes #11039
src/libstd/comm/mod.rs
src/test/compile-fail/comm-not-freeze.rs [new file with mode: 0644]