mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-24 15:54:15 +00:00
fix test
This commit is contained in:
parent
c1d75a27b2
commit
b673c6332a
@ -20,13 +20,13 @@ error: malformed `feature` attribute input
|
||||
--> $DIR/gated-bad-feature.rs:5:1
|
||||
|
|
||||
LL | #![feature]
|
||||
| ^^^^^^^^^^^ help: must be of the form: `#![feature(name1, name1, ...)]`
|
||||
| ^^^^^^^^^^^ help: must be of the form: `#![feature(name1, name2, ...)]`
|
||||
|
||||
error: malformed `feature` attribute input
|
||||
--> $DIR/gated-bad-feature.rs:6:1
|
||||
|
|
||||
LL | #![feature = "foo"]
|
||||
| ^^^^^^^^^^^^^^^^^^^ help: must be of the form: `#![feature(name1, name1, ...)]`
|
||||
| ^^^^^^^^^^^^^^^^^^^ help: must be of the form: `#![feature(name1, name2, ...)]`
|
||||
|
||||
error: aborting due to 5 previous errors
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user