]> git.lizzy.rs Git - rust.git/blobdiff - tests/ui/cast_alignment.rs
tests: fix formatting and update test output
[rust.git] / tests / ui / cast_alignment.rs
index 1f7606de649d54fae878f274630631e8bbe55939..dba19dfd0238444fa326fcdc079b6fab2b1d9523 100644 (file)
@@ -1,9 +1,15 @@
-#![feature(tool_lints)]
+// Copyright 2014-2018 The Rust Project Developers. See the COPYRIGHT
+// file at the top-level directory of this distribution.
+//
+// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
+// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
+// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
+// option. This file may not be copied, modified, or distributed
+// except according to those terms.
 
 //! Test casts for alignment issues
 
-#![feature(libc)]
-
+#![feature(rustc_private)]
 extern crate libc;
 
 #[warn(clippy::cast_ptr_alignment)]