]> git.lizzy.rs Git - rust.git/blobdiff - compiler/rustc_feature/src/builtin_attrs.rs
Auto merge of #100441 - nnethercote:shrink-ast-Attribute, r=petrochenkov
[rust.git] / compiler / rustc_feature / src / builtin_attrs.rs
index ee46a364546a92fa94cf3786bfc57698e94abddf..7d3bedbfe43199132310c6e9b134f573a9b637a2 100644 (file)
@@ -277,7 +277,7 @@ pub struct BuiltinAttribute {
     ungated!(ignore, Normal, template!(Word, NameValueStr: "reason"), WarnFollowing),
     ungated!(
         should_panic, Normal,
-        template!(Word, List: r#"expected = "reason"#, NameValueStr: "reason"), FutureWarnFollowing,
+        template!(Word, List: r#"expected = "reason""#, NameValueStr: "reason"), FutureWarnFollowing,
     ),
     // FIXME(Centril): This can be used on stable but shouldn't.
     ungated!(reexport_test_harness_main, CrateLevel, template!(NameValueStr: "name"), ErrorFollowing),