dpc / mioco.pre-0.9

Scalable, coroutine-based, asynchronous IO handling library for Rust programming language. (aka MIO COroutines).
Mozilla Public License 2.0
457 stars 30 forks source link

Fix build on nightly #159

Closed petrochenkov closed 6 years ago

petrochenkov commented 6 years ago

Hi.

https://github.com/rust-lang/rust/pull/46083 turns some compatibility lints in rustc into hard errors and regression testing found that this crate is affected. Here's a patch fixing the deprecated code (see https://github.com/rust-lang/rust/issues/34537 and https://github.com/rust-lang/rfcs/pull/2145 for more information about the issue).