Rustup to rustc 1.38.0-nightly (4560cb830 2019-07-28)

This commit is contained in:
bjorn3 2019-07-29 10:32:24 +02:00
parent a24a956aa6
commit 3f76607880
1 changed files with 1 additions and 1 deletions

View File

@ -216,7 +216,7 @@ fn main() {
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);