mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-23 23:34:48 +00:00
26 lines
642 B
Plaintext
26 lines
642 B
Plaintext
|
error[E0433]: failed to resolve: use of undeclared type `Command`
|
||
|
--> $DIR/amputate-span.rs:48:5
|
||
|
|
|
||
|
LL | Command::new("git");
|
||
|
| ^^^^^^^ not found in this scope
|
||
|
|
|
||
|
help: consider importing this struct
|
||
|
|
|
||
|
LL | use std::process::Command;
|
||
|
|
|
||
|
|
||
|
error[E0433]: failed to resolve: use of undeclared type `Command`
|
||
|
--> $DIR/amputate-span.rs:61:9
|
||
|
|
|
||
|
LL | Command::new("git");
|
||
|
| ^^^^^^^ not found in this scope
|
||
|
|
|
||
|
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`.
|