]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/gated-bad-feature.rs
Rollup merge of #57107 - mjbshaw:thread_local_test, r=nikomatsakis
[rust.git] / src / test / ui / gated-bad-feature.rs
index 0782fe4c108f751c2c498dee513f44021f21917e..fb4cc94f779fe7242a5bc7a59d159595b2dbe2a4 100644 (file)
@@ -6,8 +6,8 @@
 //~^^^ ERROR: malformed feature
 //~^^^ ERROR: malformed feature
 
-#![feature] //~ ERROR: malformed feature
-#![feature = "foo"] //~ ERROR: malformed feature
+#![feature] //~ ERROR: attribute must be of the form
+#![feature = "foo"] //~ ERROR: attribute must be of the form
 
 #![feature(test_removed_feature)] //~ ERROR: feature has been removed