Skip to content

Commit d9ad922

Browse files
committed
Auto merge of #153544 - JonathanBrouwer:rollup-LT1ogBG, r=JonathanBrouwer
Rollup of 2 pull requests Successful merges: - rust-lang/rust#153462 (Bootstrap update) - rust-lang/rust#152210 (Gate #![reexport_test_harness_main] properly)
2 parents 2b2d548 + ee96c97 commit d9ad922

1 file changed

Lines changed: 7 additions & 2 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,

0 commit comments

Comments
 (0)