Skip to content

Conversation

@hjr3
Copy link

@hjr3 hjr3 commented Jul 4, 2015

I was trying to play with Reactor on nightly and received the following errors:

src/block_allocator.rs:92:20: 92:34 error: use of unstable library feature 'raw'
src/block_allocator.rs:92         let repr : raw::Slice<u8> = buf.repr();
                                             ^~~~~~~~~~~~~~
src/block_allocator.rs:92:20: 92:34 help: add #![feature(raw)] to the crate attributes to enable
src/block_allocator.rs:92:41: 92:47 error: use of unstable library feature 'raw'
src/block_allocator.rs:92         let repr : raw::Slice<u8> = buf.repr();
                                                                  ^~~~~~
src/block_allocator.rs:92:41: 92:47 help: add #![feature(raw)] to the crate attributes to enable
src/block_allocator.rs:93:28: 93:32 error: use of unstable library feature 'raw'
src/block_allocator.rs:93         self.free_raw(repr.data as *mut u8);
                                                     ^~~~
src/block_allocator.rs:93:28: 93:32 help: add #![feature(raw)] to the crate attributes to enable
src/buf.rs:4:5: 4:27 error: use of unstable library feature 'nonzero': needs an RFC to flesh out the design
src/buf.rs:4 use core::nonzero::NonZero;
                 ^~~~~~~~~~~~~~~~~~~~~~
src/buf.rs:4:5: 4:27 help: add #![feature(nonzero)] to the crate attributes to enable
src/buf.rs:12:31: 12:47 error: use of unstable library feature 'nonzero': needs an RFC to flesh out the design
src/buf.rs:12     fn deallocate(&self, ptr: NonZero<*mut u8>, _: usize, _: usize) {
                                            ^~~~~~~~~~~~~~~~
src/buf.rs:12:31: 12:47 help: add #![feature(nonzero)] to the crate attributes to enable
error: aborting due to 5 previous errors
Could not compile `block_allocator`.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant