about summary refs log tree commit diff
path: root/tests/run-make
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2024-06-14 09:19:38 +0000
committerbors <bors@rust-lang.org>2024-06-14 09:19:38 +0000
commit63491e10125d6bac9da9b80f4969c18afa28bcc1 (patch)
tree8d9d3534fac0b48e48a12fd2fbdd52ef10c30298 /tests/run-make
parentd2ad293851dc8e14a61355d0358490b77efae8cb (diff)
parentedd4c97b810bcbb89d08238e4596ae2564d46ba6 (diff)
downloadrust-63491e10125d6bac9da9b80f4969c18afa28bcc1.tar.gz
rust-63491e10125d6bac9da9b80f4969c18afa28bcc1.zip
Auto merge of #126463 - matthiaskrgr:rollup-lnkfibf, r=matthiaskrgr
Rollup of 5 pull requests

Successful merges:

 - #124884 (place explicit lifetime bound after generic param)
 - #126343 (Remove some msys2 utils)
 - #126351 (std::unix::fs::link using direct linkat call for Solaris.)
 - #126368 (Remove some unnecessary crate dependencies.)
 - #126386 (Migrate `run-make/allow-non-lint-warnings-cmdline` to `rmake.rs`)

r? `@ghost`
`@rustbot` modify labels: rollup
Diffstat (limited to 'tests/run-make')
-rw-r--r--tests/run-make/allow-non-lint-warnings-cmdline/Makefile12
-rw-r--r--tests/run-make/allow-non-lint-warnings-cmdline/foo.rs5
2 files changed, 0 insertions, 17 deletions
diff --git a/tests/run-make/allow-non-lint-warnings-cmdline/Makefile b/tests/run-make/allow-non-lint-warnings-cmdline/Makefile
deleted file mode 100644
index 78b9a7b9898..00000000000
--- a/tests/run-make/allow-non-lint-warnings-cmdline/Makefile
+++ /dev/null
@@ -1,12 +0,0 @@
-# ignore-cross-compile
-include ../tools.mk
-
-# Test that -A warnings makes the 'empty trait list for derive' warning go away
-OUT=$(shell $(RUSTC) foo.rs -A warnings 2>&1 | grep "warning" )
-
-all: foo
-	test -z '$(OUT)'
-
-# This is just to make sure the above command actually succeeds
-foo:
-	$(RUSTC) foo.rs -A warnings
diff --git a/tests/run-make/allow-non-lint-warnings-cmdline/foo.rs b/tests/run-make/allow-non-lint-warnings-cmdline/foo.rs
deleted file mode 100644
index 02e8ccabf79..00000000000
--- a/tests/run-make/allow-non-lint-warnings-cmdline/foo.rs
+++ /dev/null
@@ -1,5 +0,0 @@
-#[derive()]
-#[derive(Copy, Clone)]
-pub struct Foo;
-
-pub fn main() {}