Skip to content

Commit 2cf461f

Browse files
authored
Merge pull request #21786 from rust-lang/rustc-pull
minor: sync from downstream
2 parents 833aa91 + 8a6869d commit 2cf461f

2 files changed

Lines changed: 8 additions & 3 deletions

File tree

crates/hir-expand/src/inert_attr_macro.rs

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -124,8 +124,6 @@ pub const INERT_ATTRIBUTES: &[BuiltinAttribute] = &[
124124
should_panic, Normal,
125125
template!(Word, List: r#"expected = "reason""#, NameValueStr: "reason"), FutureWarnFollowing,
126126
),
127-
// FIXME(Centril): This can be used on stable but shouldn't.
128-
ungated!(reexport_test_harness_main, CrateLevel, template!(NameValueStr: "name"), ErrorFollowing),
129127

130128
// Macros:
131129
ungated!(automatically_derived, Normal, template!(Word), WarnFollowing),
@@ -264,6 +262,13 @@ pub const INERT_ATTRIBUTES: &[BuiltinAttribute] = &[
264262
test_runner, CrateLevel, template!(List: "path"), ErrorFollowing, custom_test_frameworks,
265263
"custom test frameworks are an unstable feature",
266264
),
265+
266+
gated!(
267+
reexport_test_harness_main, CrateLevel, template!(NameValueStr: "name"),
268+
ErrorFollowing, custom_test_frameworks,
269+
"custom test frameworks are an unstable feature",
270+
),
271+
267272
// RFC #1268
268273
gated!(
269274
marker, Normal, template!(Word), WarnFollowing, @only_local: true,

rust-version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
f8704be04fe1150527fc2cf21dd44327f0fe87fb
1+
eda4fc7733ee89e484d7120cafbd80dcb2fce66e

0 commit comments

Comments
 (0)