rust/tests/ui/feature-gates/duplicate-features.stderr

16 lines
413 B
Plaintext
Raw Normal View History

error[E0636]: the feature `if_let` has already been declared
2018-12-25 09:56:47 -06:00
--> $DIR/duplicate-features.rs:7:12
2018-07-23 07:08:18 -05:00
|
2019-03-09 06:03:44 -06:00
LL | #![feature(if_let)]
2018-07-23 07:08:18 -05:00
| ^^^^^^
error[E0636]: the feature `rust1` has already been declared
2018-12-25 09:56:47 -06:00
--> $DIR/duplicate-features.rs:4:12
2018-07-23 07:08:18 -05:00
|
2019-03-09 06:03:44 -06:00
LL | #![feature(rust1)]
2018-07-23 07:08:18 -05:00
| ^^^^^
error: aborting due to 2 previous errors
For more information about this error, try `rustc --explain E0636`.