Skip to content

Commit 14218e3

Browse files
committed
Trailing newlines again
1 parent 8bdb11c commit 14218e3

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/test/ui/unsafe/ranged_ints.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@
55
pub(crate) struct NonZero<T>(pub(crate) T);
66
fn main() {
77
let _x = NonZero(0); //~ ERROR initializing type with `rustc_layout_scalar_valid_range` attr
8-
}
8+
}

src/test/ui/unsafe/ranged_ints2.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@ pub(crate) struct NonZero<T>(pub(crate) T);
66
fn main() {
77
let mut x = unsafe { NonZero(1) };
88
let y = &mut x.0; //~ ERROR borrow of layout constrained field is unsafe
9-
}
9+
}

0 commit comments

Comments
 (0)