about summary refs log tree commit diff
path: root/src/libstd/io/impls.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2015-02-24 02:22:44 +0000
committerbors <bors@rust-lang.org>2015-02-24 02:22:44 +0000
commit2890508d97af287a136ac50ffa13a1c0a3e32e4e (patch)
treed4cba9bfc722d5fb7d44c74dfebde016c45130aa /src/libstd/io/impls.rs
parentc4fe7d6aea022330efb8d1b470cac030a859f8f5 (diff)
parent3dcc631dee7b2f4be3443b4bbc1dd916436d60ca (diff)
downloadrust-2890508d97af287a136ac50ffa13a1c0a3e32e4e.tar.gz
rust-2890508d97af287a136ac50ffa13a1c0a3e32e4e.zip
Auto merge of #21689 - FlaPer87:oibit-send-and-friends, r=nikomatsakis
This is one more step towards completing #13231

This series of commits add support for default trait implementations. The changes in this PR don't break existing code and they are expected to preserve the existing behavior in the compiler as far as built-in bounds checks go.

The PR adds negative implementations of `Send`/`Sync` for some types and it removes the special cases for `Send`/`Sync` during the trait obligations checks. That is, it now fully relies on the traits check rather than lang items.

Once this patch lands and a new snapshot is created, it'll be possible to add default impls for `Send` and `Sync` and remove entirely the use of `BuiltinBound::{BoundSend,BoundSync}` for positive implementations as well.

This PR also removes the restriction on negative implementations. That is, it is now possible to add negative implementations for traits other than `Send`/`Sync`
Diffstat (limited to 'src/libstd/io/impls.rs')
0 files changed, 0 insertions, 0 deletions