]> git.lizzy.rs Git - rust.git/commit
rustc: Remove support for old_impl_check
authorAlex Crichton <alex@alexcrichton.com>
Thu, 26 Mar 2015 20:25:06 +0000 (13:25 -0700)
committerAlex Crichton <alex@alexcrichton.com>
Thu, 26 Mar 2015 20:25:33 +0000 (13:25 -0700)
commit9754b06cd80cfcc523573535090519bec935fec3
tree4257597fd0999e52c8dab50e9fea0841bc60e923
parent557d4346a26266d2eb13f6b0adf106b8873b0da1
rustc: Remove support for old_impl_check

This commit removes compiler support for the `old_impl_check` attribute which
should in theory be entirely removed now. The last remaining use of it in the
standard library has been updated by moving the type parameter on the
`old_io::Acceptor` trait into an associated type. As a result, this is a
breaking change for all current users of the deprecated `old_io::Acceptor`
trait. Code can be migrated by using the `Connection` associated type instead.

[breaking-change]
src/librustc_typeck/collect.rs
src/libstd/lib.rs
src/libstd/old_io/mod.rs
src/libstd/old_io/net/pipe.rs
src/libstd/old_io/net/tcp.rs
src/libstd/old_io/result.rs
src/libsyntax/feature_gate.rs