]> git.lizzy.rs Git - rust.git/blob - src/librustc_error_codes/error_codes/E0705.md
Rollup merge of #62514 - stephaneyfx:box-ffi, r=nikomatsakis
[rust.git] / src / librustc_error_codes / error_codes / E0705.md
1 A `#![feature]` attribute was declared for a feature that is stable in
2 the current edition, but not in all editions.
3
4 Erroneous code example:
5
6 ```ignore (limited to a warning during 2018 edition development)
7 #![feature(rust_2018_preview)]
8 #![feature(test_2018_feature)] // error: the feature
9                                // `test_2018_feature` is
10                                // included in the Rust 2018 edition
11 ```