about summary refs log tree commit diff
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2022-08-16 06:05:58 +0200
committerGitHub <noreply@github.com>2022-08-16 06:05:58 +0200
commitfc735b05b88d9310db779ba7d2bf8829b7268623 (patch)
tree0a59d5b817a13f81efc97edcc767def841832765
parent0b19a185dbeaad0925480df0bba641749ad2d850 (diff)
parentba2c2a650088cf3db38b158a43898d20ec1f2656 (diff)
downloadrust-fc735b05b88d9310db779ba7d2bf8829b7268623.tar.gz
rust-fc735b05b88d9310db779ba7d2bf8829b7268623.zip
Rollup merge of #100567 - Rageking8:fix-100563, r=wesleywiser
Add missing closing quote

fixes #100563
-rw-r--r--compiler/rustc_feature/src/builtin_attrs.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_feature/src/builtin_attrs.rs b/compiler/rustc_feature/src/builtin_attrs.rs
index ee46a364546..7d3bedbfe43 100644
--- a/compiler/rustc_feature/src/builtin_attrs.rs
+++ b/compiler/rustc_feature/src/builtin_attrs.rs
@@ -277,7 +277,7 @@ pub const BUILTIN_ATTRIBUTES: &[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),