about summary refs log tree commit diff
path: root/src/test/run-pass/expr-block-fn.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/run-pass/expr-block-fn.rs')
-rw-r--r--src/test/run-pass/expr-block-fn.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/run-pass/expr-block-fn.rs b/src/test/run-pass/expr-block-fn.rs
index 821dfbec0be..c88721471b6 100644
--- a/src/test/run-pass/expr-block-fn.rs
+++ b/src/test/run-pass/expr-block-fn.rs
@@ -13,7 +13,7 @@
 // pretty-expanded FIXME #23616
 
 fn test_fn() {
-    fn ten() -> int { return 10; }
+    fn ten() -> isize { return 10; }
     let rs = ten;
     assert!((rs() == 10));
 }