diff options
Diffstat (limited to 'tests/ui/proc-macro/amputate-span.stderr')
-rw-r--r-- | tests/ui/proc-macro/amputate-span.stderr | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/tests/ui/proc-macro/amputate-span.stderr b/tests/ui/proc-macro/amputate-span.stderr new file mode 100644 index 000000000..ab4670411 --- /dev/null +++ b/tests/ui/proc-macro/amputate-span.stderr @@ -0,0 +1,25 @@ +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`. |