diff options
| author | bjorn3 <bjorn3@users.noreply.github.com> | 2020-03-24 13:09:44 +0100 |
|---|---|---|
| committer | bjorn3 <bjorn3@users.noreply.github.com> | 2020-03-24 13:09:44 +0100 |
| commit | 3c9ebdb19401965913b2b1dd81de1381058c87ad (patch) | |
| tree | bd1eeb0768ad007d1affe9a0bafcea52aa0a57e5 /example | |
| parent | 228574db3602aa2abf69ef96a4809bb812071ea7 (diff) | |
| download | rust-3c9ebdb19401965913b2b1dd81de1381058c87ad.tar.gz rust-3c9ebdb19401965913b2b1dd81de1381058c87ad.zip | |
Rustup to rustc 1.44.0-nightly (1edd389cc 2020-03-23)
Diffstat (limited to 'example')
| -rw-r--r-- | example/mini_core.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/example/mini_core.rs b/example/mini_core.rs index 9160540d1d5..5311d84e72a 100644 --- a/example/mini_core.rs +++ b/example/mini_core.rs @@ -472,9 +472,9 @@ pub mod intrinsics { extern "rust-intrinsic" { pub fn abort() -> !; pub fn size_of<T>() -> usize; - pub fn size_of_val<T: ?::Sized>(val: &T) -> usize; + pub fn size_of_val<T: ?::Sized>(val: *const T) -> usize; pub fn min_align_of<T>() -> usize; - pub fn min_align_of_val<T: ?::Sized>(val: &T) -> usize; + pub fn min_align_of_val<T: ?::Sized>(val: *const T) -> usize; pub fn copy<T>(src: *const T, dst: *mut T, count: usize); pub fn transmute<T, U>(e: T) -> U; pub fn ctlz_nonzero<T>(x: T) -> T; |
