about summary refs log tree commit diff
path: root/compiler/rustc_error_codes/src/error_codes/E0705.md
blob: e7d7d74cc4c803cf5367c31fe50387d205bdd3d1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#### Note: this error code is no longer emitted by the compiler.

A `#![feature]` attribute was used for a feature that is stable in the
current edition, but not in all editions.

Erroneous code example:

```compile_fail
#![feature(rust_2018_preview)]
#![feature(test_2018_feature)] // error: the feature
                               // `test_2018_feature` is
                               // included in the Rust 2018 edition
```