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
hello world project from readme, use cargo +beta run, and got:
Compiling async-std v0.99.7
error[E0599]: no method named `initializer` found for type `std::pin::Pin<&mut R>` in the current scope
--> /home/weiby3/.cargo/registry/src/code.aliyun.com-738b7dba08a2a41e/async-std-0.99.7/src/io/read/read_to_end.rs:67:20
|
67 | rd.initializer().initialize(&mut g.buf[g.len..]);
| ^^^^^^^^^^^ method not found in `std::pin::Pin<&mut R>`
|
= help: items from traits can only be used if the trait is implemented and in scope
= note: the following trait defines an item `initializer`, perhaps you need to implement it:
candidate #1: `std::io::Read`
error: aborting due to previous error
For more information about this error, try `rustc --explain E0599`.
error: could not compile `async-std`.
To learn more, run the command again with --verbose.
hello world project from readme, use
cargo +beta run
, and got:rustc version:
rustc 1.39.0-beta.1 (968967007 2019-09-24)
os:
centos 7
The text was updated successfully, but these errors were encountered: