From d16e12b0a4b3b525c2aaac7af05a1494f4d3a7bc Mon Sep 17 00:00:00 2001 From: Ralf Jung Date: Mon, 25 Nov 2019 15:08:24 +0100 Subject: [PATCH] rename test and add some references --- ...re_to_fn_ptr.rs => coerce_non_capture_closure_to_fn_ptr.rs} | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) rename tests/run-pass/{non_capture_closure_to_fn_ptr.rs => coerce_non_capture_closure_to_fn_ptr.rs} (83%) diff --git a/tests/run-pass/non_capture_closure_to_fn_ptr.rs b/tests/run-pass/coerce_non_capture_closure_to_fn_ptr.rs similarity index 83% rename from tests/run-pass/non_capture_closure_to_fn_ptr.rs rename to tests/run-pass/coerce_non_capture_closure_to_fn_ptr.rs index d404daef2c7..30e1768837e 100644 --- a/tests/run-pass/non_capture_closure_to_fn_ptr.rs +++ b/tests/run-pass/coerce_non_capture_closure_to_fn_ptr.rs @@ -29,7 +29,8 @@ fn main() { // FIXME: This fails with "invalid use of NULL pointer" //let h: fn() -> ! = || std::process::exit(0); //h(); - // FIXME: This does not even compile?!? + // FIXME: This does not even compile?!? //let h = magic0(|| std::process::exit(0)) as fn() -> !; //h(); + // Once these tests pass, they should be in separate files as they terminate the process. } -- 2.44.0