Skip to content

Commit d9162fd

Browse files
committed
rewrite and rename issue-18943 to rmake
1 parent 2c7afc1 commit d9162fd

File tree

5 files changed

+13
-9
lines changed

5 files changed

+13
-9
lines changed

src/tools/tidy/src/allowed_run_make_makefiles.txt

-1
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,6 @@ run-make/issue-107094/Makefile
5252
run-make/issue-109934-lto-debuginfo/Makefile
5353
run-make/issue-14698/Makefile
5454
run-make/issue-15460/Makefile
55-
run-make/issue-18943/Makefile
5655
run-make/issue-22131/Makefile
5756
run-make/issue-25581/Makefile
5857
run-make/issue-26006/Makefile

tests/run-make/issue-18943/Makefile

-7
This file was deleted.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
// Inside a library, implementing a trait for another trait
2+
// with a lifetime used to cause an internal compiler error (ICE).
3+
// This test checks that this bug does not make a resurgence -
4+
// first by ensuring successful compilation, then verifying that
5+
// the lib crate-type flag was actually followed.
6+
// See https://github.com/rust-lang/rust/issues/18943
7+
8+
use run_make_support::{count_rlibs, rustc};
9+
10+
fn main() {
11+
rustc().input("foo.rs").crate_type("lib").run();
12+
assert_eq!(count_rlibs("foo"), 1);
13+
}

tests/run-make/std-core-cycle/rmake.rs

-1
Original file line numberDiff line numberDiff line change
@@ -25,4 +25,3 @@ fn main() {
2525
rustc_foo.run();
2626
rustc_foo_panic.run();
2727
}
28-

0 commit comments

Comments
 (0)