An unstable feature was used.
Erroneous code example:
#![allow(unused)]
fn main() {
use std::intrinsics; // error: use of unstable library feature `core_intrinsics`
} If you're using a stable or a beta version of rustc, you won't be able to use any unstable features. In order to do so, please switch to a nightly version of rustc (by using rustup).
If you're using a nightly version of rustc, just add the corresponding feature to be able to use it:
#![allow(unused)]
#![feature(core_intrinsics)]
fn main() {
use std::intrinsics; // ok!
}
© 2010 The Rust Project Developers
Licensed under the Apache License, Version 2.0 or the MIT license, at your option.
https://doc.rust-lang.org/error_codes/E0658.html