about summary refs log tree commit diff
diff options
context:
space:
mode:
authorTobias Bucher <tobiasbucher5991@gmail.com>2024-11-28 18:43:56 +0100
committerTobias Bucher <tobiasbucher5991@gmail.com>2024-12-10 16:20:29 +0100
commitbab1fcb30c39538618dc6b4bea43f621b64f6f92 (patch)
tree6a5e8d5b58d33af7eb1e7ea110ea1e5310c77f15
parent499605271718bceaa629f0b954502c0040e4456b (diff)
downloadrust-bab1fcb30c39538618dc6b4bea43f621b64f6f92.tar.gz
rust-bab1fcb30c39538618dc6b4bea43f621b64f6f92.zip
Fix type (exit → exist)
-rw-r--r--tests/ui/rfcs/rfc-2627-raw-dylib/invalid-dlltool.rs2
-rw-r--r--tests/ui/rfcs/rfc-2627-raw-dylib/invalid-dlltool.stderr2
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/ui/rfcs/rfc-2627-raw-dylib/invalid-dlltool.rs b/tests/ui/rfcs/rfc-2627-raw-dylib/invalid-dlltool.rs
index bcf6dda7a44..057242246f0 100644
--- a/tests/ui/rfcs/rfc-2627-raw-dylib/invalid-dlltool.rs
+++ b/tests/ui/rfcs/rfc-2627-raw-dylib/invalid-dlltool.rs
@@ -1,7 +1,7 @@
 // Tests that failing to run dlltool will raise an error.
 
 //@ needs-dlltool
-//@ compile-flags: --crate-type lib --emit link -Cdlltool=does_not_exit.exe
+//@ compile-flags: --crate-type lib --emit link -Cdlltool=does_not_exist.exe
 #[link(name = "foo", kind = "raw-dylib")]
 extern "C" {
     fn f(x: i32);
diff --git a/tests/ui/rfcs/rfc-2627-raw-dylib/invalid-dlltool.stderr b/tests/ui/rfcs/rfc-2627-raw-dylib/invalid-dlltool.stderr
index 9dbeee49f53..4bbad9b30a7 100644
--- a/tests/ui/rfcs/rfc-2627-raw-dylib/invalid-dlltool.stderr
+++ b/tests/ui/rfcs/rfc-2627-raw-dylib/invalid-dlltool.stderr
@@ -1,4 +1,4 @@
-error: Error calling dlltool 'does_not_exit.exe': program not found
+error: Error calling dlltool 'does_not_exist.exe': program not found
 
 error: aborting due to 1 previous error