From 2152258b04ba3eb2f7f560ff7b793fb277d29077 Mon Sep 17 00:00:00 2001 From: Ralf Jung Date: Mon, 25 Nov 2019 15:10:39 +0100 Subject: [PATCH] and another reference --- tests/run-pass/coerce_non_capture_closure_to_fn_ptr.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/run-pass/coerce_non_capture_closure_to_fn_ptr.rs b/tests/run-pass/coerce_non_capture_closure_to_fn_ptr.rs index 30e1768837eb..4da2c0c61b4a 100644 --- a/tests/run-pass/coerce_non_capture_closure_to_fn_ptr.rs +++ b/tests/run-pass/coerce_non_capture_closure_to_fn_ptr.rs @@ -26,7 +26,7 @@ fn main() { let g = magic1(|i| assert_eq!(i, 2)) as fn(i32); g(2); - // FIXME: This fails with "invalid use of NULL pointer" + // FIXME: This fails with "invalid use of NULL pointer" //let h: fn() -> ! = || std::process::exit(0); //h(); // FIXME: This does not even compile?!?