about summary refs log tree commit diff
path: root/src/test/ui
diff options
context:
space:
mode:
authorJake Vossen <jake@vossen.dev>2021-01-05 00:02:39 -0700
committerJake Vossen <jake@vossen.dev>2021-01-05 00:02:39 -0700
commit65f7dba622f082e1ea246866a1c85248e171e25f (patch)
treeb9c1f21b102047b6ea6782ecbd5cc86fd01e0d1e /src/test/ui
parentf37e7375355d64163b26b10359ca7bc0d5fbe384 (diff)
downloadrust-65f7dba622f082e1ea246866a1c85248e171e25f.tar.gz
rust-65f7dba622f082e1ea246866a1c85248e171e25f.zip
fixed feature gate stderr
Diffstat (limited to 'src/test/ui')
-rw-r--r--src/test/ui/feature-gates/feature-gate-const_generics.stderr2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/ui/feature-gates/feature-gate-const_generics.stderr b/src/test/ui/feature-gates/feature-gate-const_generics.stderr
index b2b7e4576bf..ed19109b38b 100644
--- a/src/test/ui/feature-gates/feature-gate-const_generics.stderr
+++ b/src/test/ui/feature-gates/feature-gate-const_generics.stderr
@@ -5,7 +5,7 @@ LL | fn foo<const X: ()>() {}
    |                 ^^
    |
    = note: the only supported types are integers, `bool` and `char`
-   = help: more complex types are supported with `#[feature(const_generics)]`
+   = help: more complex types are supported with `#![feature(const_generics)]`
 
 error: aborting due to previous error