mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-14 17:48:10 +00:00
26 lines
660 B
Plaintext
26 lines
660 B
Plaintext
error[E0433]: failed to resolve: use of undeclared type `Command`
|
|
--> $DIR/amputate-span.rs:49:5
|
|
|
|
|
LL | Command::new("git");
|
|
| ^^^^^^^ use of undeclared type `Command`
|
|
|
|
|
help: consider importing this struct
|
|
|
|
|
LL + use std::process::Command;
|
|
|
|
|
|
|
error[E0433]: failed to resolve: use of undeclared type `Command`
|
|
--> $DIR/amputate-span.rs:63:9
|
|
|
|
|
LL | Command::new("git");
|
|
| ^^^^^^^ use of undeclared type `Command`
|
|
|
|
|
help: consider importing this struct
|
|
|
|
|
LL + use std::process::Command;
|
|
|
|
|
|
|
error: aborting due to 2 previous errors
|
|
|
|
For more information about this error, try `rustc --explain E0433`.
|