From 016c996e1610eaed2f47fd9a9396498b8adce047 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matthias=20Kr=C3=BCger?= Date: Wed, 12 Dec 2018 17:17:01 +0100 Subject: [PATCH] rustup https://github.com/rust-lang/rust/pull/56092 fix ui test cast_alignment failure by adding #![feature(rustc_private)] --- tests/ui/cast_alignment.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/ui/cast_alignment.rs b/tests/ui/cast_alignment.rs index efc56ea2bbc13..77f50b3add29b 100644 --- a/tests/ui/cast_alignment.rs +++ b/tests/ui/cast_alignment.rs @@ -9,8 +9,8 @@ //! Test casts for alignment issues -#![feature(libc)] +#![feature(rustc_private)] extern crate libc; #[warn(clippy::cast_ptr_alignment)]