File tree Expand file tree Collapse file tree 5 files changed +12
-6
lines changed
external-crate-panic-handle-no-lint Expand file tree Collapse file tree 5 files changed +12
-6
lines changed Original file line number Diff line number Diff line change @@ -116,7 +116,6 @@ run-make/issue-46239/Makefile
116116run-make/issue-47384/Makefile
117117run-make/issue-47551/Makefile
118118run-make/issue-51671/Makefile
119- run-make/issue-53964/Makefile
120119run-make/issue-64153/Makefile
121120run-make/issue-68794-textrel-on-minimal-lib/Makefile
122121run-make/issue-69368/Makefile
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change 1+ // Defining a crate that provides panic handling as an external crate
2+ // could uselessly trigger the "unused external crate" lint. A fix was
3+ // created, and this test checks that the fix did not accidentally break
4+ // compiler functionality.
5+ // See https://github.com/rust-lang/rust/issues/53964
6+
7+ use run_make_support:: { rustc, tmp_dir} ;
8+
9+ fn main ( ) {
10+ rustc ( ) . input ( "panic.rs" ) . run ( ) ;
11+ rustc ( ) . input ( "app.rs" ) . panic ( "abort" ) . emit ( "obj" ) . library_search_path ( tmp_dir ( ) ) . run ( ) ;
12+ }
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments