From 3f7660788042796773fd12e80dccd9af997f7242 Mon Sep 17 00:00:00 2001 From: bjorn3 Date: Mon, 29 Jul 2019 10:32:24 +0200 Subject: [PATCH] Rustup to rustc 1.38.0-nightly (4560cb830 2019-07-28) --- example/mini_core_hello_world.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/example/mini_core_hello_world.rs b/example/mini_core_hello_world.rs index e51f257f6b4..641f0c98912 100644 --- a/example/mini_core_hello_world.rs +++ b/example/mini_core_hello_world.rs @@ -216,7 +216,7 @@ unsafe fn uninitialized() -> T { let x = &[0u32, 42u32] as &[u32]; match x { [] => assert_eq!(0u32, 1), - [_, ref y..] => assert_eq!(&x[1] as *const u32 as usize, &y[0] as *const u32 as usize), + [_, ref y @ ..] => assert_eq!(&x[1] as *const u32 as usize, &y[0] as *const u32 as usize), } assert_eq!(((|()| 42u8) as fn(()) -> u8)(()), 42); -- 2.44.0