Skip to content

Commit 9843200

Browse files
authored
Unrolled build for #146365
Rollup merge of #146365 - RalfJung:triagebot-rustc_intrinsic_const_stable_indirect, r=jieyouxu triagebot: warn about #[rustc_intrinsic_const_stable_indirect] Also make the warnings a bit more noticeable by adding a ⚠️.
2 parents 364da5d + c63e034 commit 9843200

File tree

1 file changed

+13
-2
lines changed

1 file changed

+13
-2
lines changed

triagebot.toml

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1308,21 +1308,32 @@ cc = ["@m-ou-se"]
13081308
[mentions."compiler/rustc_ast_lowering/src/format.rs"]
13091309
cc = ["@m-ou-se"]
13101310

1311+
# Content-based mentions
1312+
13111313
[mentions."#[miri::intrinsic_fallback_is_spec]"]
13121314
type = "content"
13131315
message = """
1314-
`#[miri::intrinsic_fallback_is_spec]` must only be used if the function actively checks for all UB cases,
1316+
⚠️ `#[miri::intrinsic_fallback_is_spec]` must only be used if the function actively checks for all UB cases,
13151317
and explores the possible non-determinism of the intrinsic.
13161318
"""
13171319
cc = ["@rust-lang/miri"]
1320+
13181321
[mentions."#[rustc_allow_const_fn_unstable"]
13191322
type = "content"
13201323
message = """
1321-
`#[rustc_allow_const_fn_unstable]` needs careful audit to avoid accidentally exposing unstable
1324+
⚠️ `#[rustc_allow_const_fn_unstable]` needs careful audit to avoid accidentally exposing unstable
13221325
implementation details on stable.
13231326
"""
13241327
cc = ["@rust-lang/wg-const-eval"]
13251328

1329+
[mentions."#[rustc_intrinsic_const_stable_indirect]"]
1330+
type = "content"
1331+
message = """
1332+
⚠️ `#[rustc_intrinsic_const_stable_indirect]` controls whether intrinsics can be exposed to stable const
1333+
code; adding it needs t-lang approval.
1334+
"""
1335+
cc = ["@rust-lang/wg-const-eval"]
1336+
13261337

13271338
# ------------------------------------------------------------------------------
13281339
# PR assignments

0 commit comments

Comments
 (0)