2022-01-21 03:07:54 +08:00
|
|
|
error[E0433]: failed to resolve: use of undeclared type `Command`
|
2022-03-12 05:57:34 +08:00
|
|
|
--> $DIR/amputate-span.rs:49:5
|
2022-01-21 03:07:54 +08:00
|
|
|
|
|
|
|
|
LL | Command::new("git");
|
2022-10-27 14:36:07 +08:00
|
|
|
| ^^^^^^^ use of undeclared type `Command`
|
2022-01-21 03:07:54 +08:00
|
|
|
|
|
|
|
|
help: consider importing this struct
|
|
|
|
|
|
2023-03-18 10:18:39 +08:00
|
|
|
LL + use std::process::Command;
|
2022-01-21 03:07:54 +08:00
|
|
|
|
|
|
|
|
|
|
|
|
error[E0433]: failed to resolve: use of undeclared type `Command`
|
2022-03-12 05:57:34 +08:00
|
|
|
--> $DIR/amputate-span.rs:63:9
|
2022-01-21 03:07:54 +08:00
|
|
|
|
|
|
|
|
LL | Command::new("git");
|
2022-10-27 14:36:07 +08:00
|
|
|
| ^^^^^^^ use of undeclared type `Command`
|
2022-01-21 03:07:54 +08:00
|
|
|
|
|
|
|
|
help: consider importing this struct
|
|
|
|
|
|
2023-03-18 10:18:39 +08:00
|
|
|
LL + use std::process::Command;
|
2022-01-21 03:07:54 +08:00
|
|
|
|
|
|
|
|
|
|
|
|
error: aborting due to 2 previous errors
|
|
|
|
|
|
|
|
For more information about this error, try `rustc --explain E0433`.
|