diff options
| -rw-r--r-- | src/test/ui/underscore_const_names_feature_gate.stderr | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/ui/underscore_const_names_feature_gate.stderr b/src/test/ui/underscore_const_names_feature_gate.stderr index 4cce252bcae..c97b3f8d4d3 100644 --- a/src/test/ui/underscore_const_names_feature_gate.stderr +++ b/src/test/ui/underscore_const_names_feature_gate.stderr @@ -1,7 +1,7 @@ error[E0658]: naming constants with `_` is unstable (see issue #54912) --> $DIR/underscore_const_names_feature_gate.rs:11:1 | -LL | const _: () = (); +LL | const _: () = (); //~ ERROR is unstable | ^^^^^^^^^^^^^^^^^ | = help: add #![feature(underscore_const_names)] to the crate attributes to enable @@ -9,7 +9,7 @@ LL | const _: () = (); error[E0658]: naming constants with `_` is unstable (see issue #54912) --> $DIR/underscore_const_names_feature_gate.rs:12:1 | -LL | static _: () = (); +LL | static _: () = (); //~ ERROR is unstable | ^^^^^^^^^^^^^^^^^^ | = help: add #![feature(underscore_const_names)] to the crate attributes to enable |
