smol-rs / async-fs

Async filesystem primitives
Apache License 2.0
131 stars 8 forks source link

not working on nightly #6

Closed awaited-hare closed 4 years ago

awaited-hare commented 4 years ago
error[E0046]: not all trait items implemented, missing: `as_flags`
    --> /home/alice/.cargo/registry/src/github.com-1ecc6299db9ec823/async-fs-1.3.0/src/lib.rs:1431:1
     |
1431 | impl std::os::unix::fs::OpenOptionsExt for OpenOptions {
     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ missing `as_flags` in implementation
     |
     = help: implement the missing item: `fn as_flags(&self) -> std::result::Result<i32, std::io::Error> { todo!() }`
awaited-hare commented 4 years ago

Found this related issue: https://github.com/rust-lang/rust/issues/77089.

ghost commented 4 years ago

async-fs now defines its own extension traits rather than implementing those from std.