about summary refs log tree commit diff
path: root/compiler/rustc_error_codes/src/error_codes/E0636.md
blob: 41fd701a8ede39e37e3c4e726919f5ec26d426c3 (plain)
1
2
3
4
5
6
7
8
9
The same feature is enabled multiple times with `#![feature]` attributes

Erroneous code example:

```compile_fail,E0636
#![allow(stable_features)]
#![feature(rust1)]
#![feature(rust1)] // error: the feature `rust1` has already been enabled
```