about summary refs log tree commit diff
diff options
context:
space:
mode:
authorMario Carneiro <di.gama@gmail.com>2022-02-21 02:58:44 -0800
committerGitHub <noreply@github.com>2022-02-21 02:58:44 -0800
commitb673c6332ab5435bdb3a03b64fb4e865ba0092d5 (patch)
tree7583ed95ba841d778e0d0c306bb45cfae0e8077c
parentc1d75a27b2cb5c936e1551cdf62716d3f39c0880 (diff)
downloadrust-b673c6332ab5435bdb3a03b64fb4e865ba0092d5.tar.gz
rust-b673c6332ab5435bdb3a03b64fb4e865ba0092d5.zip
fix test
-rw-r--r--src/test/ui/feature-gates/gated-bad-feature.stderr4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/ui/feature-gates/gated-bad-feature.stderr b/src/test/ui/feature-gates/gated-bad-feature.stderr
index a8ec9391523..477bf5e866e 100644
--- a/src/test/ui/feature-gates/gated-bad-feature.stderr
+++ b/src/test/ui/feature-gates/gated-bad-feature.stderr
@@ -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