about summary refs log tree commit diff
path: root/tests/ui/crate-loading
diff options
context:
space:
mode:
authorUrgau <urgau@numericable.fr>2024-02-17 16:45:59 +0100
committerUrgau <urgau@numericable.fr>2024-02-17 16:49:01 +0100
commitd988d8f4ba069e11ace537feea4e4e226e7f4afe (patch)
tree1eb3889c87093c5fdaf3dc22617c69f8479105f2 /tests/ui/crate-loading
parentbccb9bbb418a30aeb332052e721beb6ebc6b1ce7 (diff)
downloadrust-d988d8f4ba069e11ace537feea4e4e226e7f4afe.tar.gz
rust-d988d8f4ba069e11ace537feea4e4e226e7f4afe.zip
Use better heuristic for printing Cargo specific diagnostics
Diffstat (limited to 'tests/ui/crate-loading')
-rw-r--r--tests/ui/crate-loading/missing-std.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/ui/crate-loading/missing-std.rs b/tests/ui/crate-loading/missing-std.rs
index ca9501cda3a..aed8b0c530a 100644
--- a/tests/ui/crate-loading/missing-std.rs
+++ b/tests/ui/crate-loading/missing-std.rs
@@ -1,6 +1,6 @@
 //@ compile-flags: --target x86_64-unknown-uefi
 //@ needs-llvm-components: x86
-//@ rustc-env:CARGO=/usr/bin/cargo
+//@ rustc-env:CARGO_CRATE_NAME=foo
 #![feature(no_core)]
 #![no_core]
 extern crate core;