async-rs / parallel-stream

Data parallelism library for async-std.
https://docs.rs/parallel-stream
Apache License 2.0
93 stars 16 forks source link

Conflict with pin_project about `rust_2018_idioms` #19

Closed mankinskin closed 4 years ago

mankinskin commented 4 years ago

I guess since https://github.com/taiki-e/pin-project has been updated from 0.4.24 to 0.4.26 this error occurs when building parallel-stream:

error[E0453]: allow(explicit_outlives_requirements) overruled by outer forbid(rust_2018_idioms)
  --> src/from_stream.rs:9:1
   |
9  | / pin_project! {
10 | |     /// A parallel stream that was created from sequential stream.
11 | |     ///
12 | |     /// This stream is created by the [`from_stream`] function.
...  |
21 | |     }
22 | | }
   | |_^ overruled by previous forbid
   |
  ::: src/lib.rs:43:24
   |
43 |   #![forbid(unsafe_code, rust_2018_idioms)]
   |                          ---------------- `forbid` level set here