You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
WIP: Make tests and examples compile with Rust 1.10
- Avoid using attributes on statements; use them on items instead.
- Change a test to use std::env::VarError instead of std::fmt::Error,
because the latter didn't impl Error until Rust 1.11.
- Add an empty block after invocations of `error_chain!` inside
functions, to work around rust-lang/rust#34436
(fixed in Rust 1.11).
- Replace a single instance of `?` with `try!`.
This still fails to work with 1.10 due to
rust-lang/rust#22250 . Because of that issue,
an invocation of `#[derive(Debug)]` inside a macro doesn't take cfg(...)
attributes into account, and fails to compile due to referencing enum
variants that don't exist. Posted for reference only.
0 commit comments