This commit is contained in:
Mario Carneiro 2022-02-21 02:58:44 -08:00 committed by GitHub
parent c1d75a27b2
commit b673c6332a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -20,13 +20,13 @@ error: malformed `feature` attribute input
--> $DIR/gated-bad-feature.rs:5:1 --> $DIR/gated-bad-feature.rs:5:1
| |
LL | #![feature] 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 error: malformed `feature` attribute input
--> $DIR/gated-bad-feature.rs:6:1 --> $DIR/gated-bad-feature.rs:6:1
| |
LL | #![feature = "foo"] 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 error: aborting due to 5 previous errors