File tree 3 files changed +5
-5
lines changed
3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -44,7 +44,7 @@ zerocopy-panic-in-const = "1.57.0"
44
44
[package .metadata .ci ]
45
45
# The versions of the stable and nightly compiler toolchains to use in CI.
46
46
pinned-stable = " 1.76.0"
47
- pinned-nightly = " nightly-2024-03-04 "
47
+ pinned-nightly = " nightly-2024-03-05 "
48
48
49
49
[package .metadata .docs .rs ]
50
50
all-features = true
Original file line number Diff line number Diff line change @@ -400,7 +400,7 @@ mod _conversions {
400
400
#[ doc( hidden) ]
401
401
#[ inline]
402
402
pub fn from_ref ( ptr : & ' a T ) -> Self {
403
- let ptr = core :: ptr :: NonNull :: from ( ptr) ;
403
+ let ptr = NonNull :: from ( ptr) ;
404
404
// SAFETY:
405
405
// 0. `ptr`, by invariant on `&'a T`, is derived from some valid
406
406
// Rust allocation, `A`.
@@ -436,7 +436,7 @@ mod _conversions {
436
436
/// Constructs a `Ptr` from an exclusive reference.
437
437
#[ inline]
438
438
pub ( crate ) fn from_mut ( ptr : & ' a mut T ) -> Self {
439
- let ptr = core :: ptr :: NonNull :: from ( ptr) ;
439
+ let ptr = NonNull :: from ( ptr) ;
440
440
// SAFETY:
441
441
// 0. `ptr`, by invariant on `&'a mut T`, is derived from some valid
442
442
// Rust allocation, `A`.
Original file line number Diff line number Diff line change 1
1
error[E0589]: invalid `repr(align)` attribute: larger than 2^29
2
- --> tests/ui-nightly/max-align.rs:96:11
2
+ --> tests/ui-nightly/max-align.rs:96:17
3
3
|
4
4
96 | #[repr(C, align(1073741824))]
5
- | ^^^^^^^ ^^^^^^^^^^
5
+ | ^^^^^^^^^^
You can’t perform that action at this time.
0 commit comments