]> git.lizzy.rs Git - rust.git/blobdiff - src/liballoc/lib.rs
Deprecate offset_to; switch core&alloc to using offset_from instead
[rust.git] / src / liballoc / lib.rs
index e98b58994bfbb3bf5e63b23d83535e065b7e4011..009441e1680ddbbb1236d545c7acedd695c9a066 100644 (file)
 #![feature(lang_items)]
 #![feature(needs_allocator)]
 #![feature(nonzero)]
-#![feature(offset_to)]
 #![feature(optin_builtin_traits)]
 #![feature(pattern)]
 #![feature(pin)]
 #![feature(placement_in_syntax)]
 #![feature(placement_new_protocol)]
 #![feature(ptr_internals)]
+#![feature(ptr_offset_from)]
 #![feature(rustc_attrs)]
 #![feature(slice_get_slice)]
 #![feature(slice_rsplit)]