Skip to content

Commit ed1e373

Browse files
committed
rewrite and rename issue-53964
1 parent ddba1dc commit ed1e373

File tree

5 files changed

+16
-6
lines changed

5 files changed

+16
-6
lines changed

src/tools/tidy/src/allowed_run_make_makefiles.txt

-1
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,6 @@ run-make/issue-46239/Makefile
116116
run-make/issue-47384/Makefile
117117
run-make/issue-47551/Makefile
118118
run-make/issue-51671/Makefile
119-
run-make/issue-53964/Makefile
120119
run-make/issue-64153/Makefile
121120
run-make/issue-68794-textrel-on-minimal-lib/Makefile
122121
run-make/issue-69368/Makefile
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
// Defining a crate that provides panic handling as an external crate
2+
// could uselessly trigger the "unused external crate" lint. This test
3+
// creates this situation and checks that the lint is not triggered.
4+
// See https://github.com/rust-lang/rust/issues/53964
5+
6+
use run_make_support::{rustc, tmp_dir};
7+
8+
fn main() {
9+
rustc().input("panic.rs").run();
10+
rustc()
11+
.input("app.rs")
12+
.panic("abort")
13+
.emit("obj")
14+
.library_search_path(tmp_dir())
15+
.run();
16+
}

tests/run-make/issue-53964/Makefile

-5
This file was deleted.

0 commit comments

Comments
 (0)