X-Git-Url: https://git.lizzy.rs/?a=blobdiff_plain;f=src%2Ftest%2Frun-pass%2Fstack-probes.rs;h=773d0ace90ed9dbc25792c4097c68e45768645d1;hb=007d87f1719e2fcf2ff36aef8b6dc866fa276386;hp=92a0cc3a07b5211d629e9d23f5ed435f0e126a97;hpb=d67d1f24dc8b7ba8c00dacde3ee86c75aa85e91e;p=rust.git diff --git a/src/test/run-pass/stack-probes.rs b/src/test/run-pass/stack-probes.rs index 92a0cc3a07b..773d0ace90e 100644 --- a/src/test/run-pass/stack-probes.rs +++ b/src/test/run-pass/stack-probes.rs @@ -49,6 +49,7 @@ fn main() { #[allow(unconditional_recursion)] fn recurse(array: &[u64]) { unsafe { black_box(array.as_ptr() as u64); } + #[allow(deprecated)] let local: [_; 1024] = unsafe { mem::uninitialized() }; recurse(&local); }