about summary refs log tree commit diff
path: root/tests/ui/errors
diff options
context:
space:
mode:
authorDaniel Paoliello <danpao@microsoft.com>2025-07-16 16:16:24 -0700
committerDaniel Paoliello <danpao@microsoft.com>2025-07-29 11:20:23 -0700
commitcffde732ceecd1bcb333d34fe7a9c9caa4d9a9fa (patch)
treeb1f3a5851136a0b5de7cbb23e25fa5f6f9936433 /tests/ui/errors
parent7278554d82fa474a4e8b5c67afb009e11e41a841 (diff)
downloadrust-cffde732ceecd1bcb333d34fe7a9c9caa4d9a9fa.tar.gz
rust-cffde732ceecd1bcb333d34fe7a9c9caa4d9a9fa.zip
Verify llvm-needs-components are not empty and match the --target value
Diffstat (limited to 'tests/ui/errors')
-rw-r--r--tests/ui/errors/remap-path-prefix-sysroot.rs2
-rw-r--r--tests/ui/errors/wrong-target-spec.rs1
2 files changed, 2 insertions, 1 deletions
diff --git a/tests/ui/errors/remap-path-prefix-sysroot.rs b/tests/ui/errors/remap-path-prefix-sysroot.rs
index 5e2e4fab51d..f4a2766ff4c 100644
--- a/tests/ui/errors/remap-path-prefix-sysroot.rs
+++ b/tests/ui/errors/remap-path-prefix-sysroot.rs
@@ -2,7 +2,7 @@
 //@ compile-flags: -g -Ztranslate-remapped-path-to-local-path=yes
 //@ [with-remap]compile-flags: --remap-path-prefix={{rust-src-base}}=remapped
 //@ [with-remap]compile-flags: --remap-path-prefix={{src-base}}=remapped-tests-ui
-//@ [without-remap]compile-flags:
+// [without-remap] no extra compile-flags
 
 // The $SRC_DIR*.rs:LL:COL normalisation doesn't kick in automatically
 // as the remapped revision will not begin with $SRC_DIR_REAL,
diff --git a/tests/ui/errors/wrong-target-spec.rs b/tests/ui/errors/wrong-target-spec.rs
index a3a0e05d826..1a976888112 100644
--- a/tests/ui/errors/wrong-target-spec.rs
+++ b/tests/ui/errors/wrong-target-spec.rs
@@ -2,6 +2,7 @@
 // checks that such invalid target specs are rejected by the compiler.
 // See https://github.com/rust-lang/rust/issues/33329
 
+// ignore-tidy-target-specific-tests
 //@ needs-llvm-components: x86
 //@ compile-flags: --target x86_64_unknown-linux-musl