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
tema3210@tema2-devhost:~/3kurs_alg_laby/05/rust$ cargo check
Checking rust v0.1.0 (/home/tema3210/3kurs_alg_laby/05/rust)
error[E0432]: unresolved import `std::boxed::PinBox`
--> src/main.rs:4:5
|
4 | use std::boxed::PinBox;
| ^^^^^^^^^^^^^^^^^^ no `PinBox` in `boxed`
warning: unused import: `GeneratorState`
--> src/main.rs:3:27
|
3 | use std::ops::{Generator, GeneratorState};
| ^^^^^^^^^^^^^^
|
= note: `#[warn(unused_imports)]` on by default
warning: unused import: `std::pin::Pin`
--> src/main.rs:5:5
|
5 | use std::pin::Pin;
| ^^^^^^^^^^^^^
error: aborting due to previous error
For more information about this error, try `rustc --explain E0432`.
error: could not compile `rust`.
To learn more, run the command again with --verbose.
My code is:
But this doesn't compile because of:
The text was updated successfully, but these errors were encountered: