]> git.lizzy.rs Git - rust.git/commitdiff
Trailing newlines again
authorOliver Scherer <github35764891676564198441@oli-obk.de>
Sat, 3 Nov 2018 22:39:29 +0000 (23:39 +0100)
committerOliver Scherer <github35764891676564198441@oli-obk.de>
Tue, 4 Dec 2018 09:17:36 +0000 (10:17 +0100)
src/test/ui/unsafe/ranged_ints.rs
src/test/ui/unsafe/ranged_ints2.rs

index c9fdadeaf05fdfef93f314f6e6b5aba4839da803..0fa2da917e9f8e0c2a02a3f4caa140b46b4b1533 100644 (file)
@@ -5,4 +5,4 @@
 pub(crate) struct NonZero<T>(pub(crate) T);
 fn main() {
     let _x = NonZero(0); //~ ERROR initializing type with `rustc_layout_scalar_valid_range` attr
-}
\ No newline at end of file
+}
index 9e1acb1a7b1a3e2ec08ec5603d591ef18254aa35..3738b7f5af4a7735ff1870a82c47db1ebd252dde 100644 (file)
@@ -6,4 +6,4 @@
 fn main() {
     let mut x = unsafe { NonZero(1) };
     let y = &mut x.0; //~ ERROR borrow of layout constrained field is unsafe
-}
\ No newline at end of file
+}