diff options
| author | Rageking8 <106309953+Rageking8@users.noreply.github.com> | 2022-08-15 15:57:55 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-08-15 15:57:55 +0800 |
| commit | ba2c2a650088cf3db38b158a43898d20ec1f2656 (patch) | |
| tree | 96036ea3a850de067672729209ed86a9e9b12501 | |
| parent | 2fbc08e2ce64dee45a29cb6133da6b32366268aa (diff) | |
| download | rust-ba2c2a650088cf3db38b158a43898d20ec1f2656.tar.gz rust-ba2c2a650088cf3db38b158a43898d20ec1f2656.zip | |
Add missing closing quote
fixes #100563
| -rw-r--r-- | compiler/rustc_feature/src/builtin_attrs.rs | 2 |
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), |
