A #![feature] attribute was used for a feature that is stable in the current edition, but not in all editions.
Erroneous code example:
#![allow(unused)]
#![feature(rust_2018_preview)]
#![feature(test_2018_feature)] // error: the feature
fn main() {
// `test_2018_feature` is
// included in the Rust 2018 edition
}
© 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/E0705.html