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
$ cargo update -p pin-project --precise 0.3.2
Updating crates.io index
Updating pin-project v0.3.3 -> v0.3.2
$ cargo test
Finished dev [unoptimized + debuginfo] target(s) in 0.02s
Running target/debug/deps/futures_compat-27fb39e639db3ee7
running 1 test
test implements_error ... ok
0.3.3
$ cargo update -p pin-project --precise 0.3.3
Updating crates.io index
Updating pin-project v0.3.2 -> v0.3.3
$ cargo test
Compiling snafu v0.4.1 (/Users/shep/Projects/snafu)
error[E0433]: failed to resolve: maybe a missing `extern crate core;`?
--> /Users/shep/Projects/snafu/src/futures/try_future.rs:127:18
|
127 | #[unsafe_project(Unpin)]
| ^^^^^ maybe a missing `extern crate core;`?
error[E0433]: failed to resolve: maybe a missing `extern crate core;`?
--> /Users/shep/Projects/snafu/src/futures/try_future.rs:166:18
|
166 | #[unsafe_project(Unpin)]
| ^^^^^ maybe a missing `extern crate core;`?
error[E0433]: failed to resolve: maybe a missing `extern crate core;`?
--> /Users/shep/Projects/snafu/src/futures/try_stream.rs:129:18
|
129 | #[unsafe_project(Unpin)]
| ^^^^^ maybe a missing `extern crate core;`?
error[E0433]: failed to resolve: maybe a missing `extern crate core;`?
--> /Users/shep/Projects/snafu/src/futures/try_stream.rs:171:18
|
171 | #[unsafe_project(Unpin)]
| ^^^^^ maybe a missing `extern crate core;`?
error: aborting due to 4 previous errors
For more information about this error, try `rustc --explain E0433`.
error: Could not compile `snafu`.
The text was updated successfully, but these errors were encountered:
Span contains information about the edition. So if pin-project is used in 2015 edition's crate, ::core::marker::Unpin is handled as code defined in the 2015 edition. Then 2015 edition's import rule is applied.
0.3.2
0.3.3
The text was updated successfully, but these errors were encountered: