fails to build on current nightly (linux x86-64)
Created by: droundy
Compiling ralloc_shim v0.1.1 (https://github.com/redox-os/ralloc.git#e31a743e)
Compiling ralloc v1.0.0 (https://github.com/redox-os/ralloc.git#e31a743e)
error[E0599]: no method named `offset` found for type `core::nonzero::NonZero<*mut T>` in the current scope
--> /home/droundy/.cargo/git/checkouts/ralloc-797ee1a3f928155b/e31a743/src/ptr.rs:79:31
|
79 | Pointer::new(self.ptr.offset(diff))
| ^^^^^^
error[E0308]: mismatched types
--> /home/droundy/.cargo/git/checkouts/ralloc-797ee1a3f928155b/e31a743/src/ptr.rs:97:9
|
97 | &self.ptr
| ^^^^^^^^^ expected *-ptr, found struct `core::nonzero::NonZero`
|
= note: expected type `&*mut T`
found type `&core::nonzero::NonZero<*mut T>`
error: aborting due to previous error(s)
error: Could not compile `ralloc`.
warning: build failed, waiting for other jobs to finish...
error: build failed
This is on nightly-x86_64-unknown-linux-gnu updated - rustc 1.20.0-nightly (c9bb93576 2017-06-24