rust-lang-deprecated / failure

Error management

Home Page:https://rust-lang-nursery.github.io/failure/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ATOMIC_USIZE_INIT deprecated in rust 1.34

eclipseo opened this issue · comments

With #![deny(warnings)] my build fails 😢
We (Fedora Rust SIG) would appreciate if you would not use deny warnings in code, but rather use it from CI (-D warnings).

As for the bug, either use #[allow(deprecated)] if you want to keep compatibility with Rust < 1.24 or use AtomicUsize::new if you want to raise your MSRV to 1.24.

My bad, I should have checked GIT master, it's already fixed.