Skip to content

Commit d95710c

Browse files
committed
triagebot: warn about #[rustc_intrinsic_const_stable_indirect]; make warnings a bit more noticeable
1 parent ebdf2ab commit d95710c

File tree

1 file changed

+11
-2
lines changed

1 file changed

+11
-2
lines changed

triagebot.toml

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1311,18 +1311,27 @@ cc = ["@m-ou-se"]
13111311
[mentions."#[miri::intrinsic_fallback_is_spec]"]
13121312
type = "content"
13131313
message = """
1314-
`#[miri::intrinsic_fallback_is_spec]` must only be used if the function actively checks for all UB cases,
1314+
⚠️ `#[miri::intrinsic_fallback_is_spec]` must only be used if the function actively checks for all UB cases,
13151315
and explores the possible non-determinism of the intrinsic.
13161316
"""
13171317
cc = ["@rust-lang/miri"]
1318+
13181319
[mentions."#[rustc_allow_const_fn_unstable"]
13191320
type = "content"
13201321
message = """
1321-
`#[rustc_allow_const_fn_unstable]` needs careful audit to avoid accidentally exposing unstable
1322+
⚠️ `#[rustc_allow_const_fn_unstable]` needs careful audit to avoid accidentally exposing unstable
13221323
implementation details on stable.
13231324
"""
13241325
cc = ["@rust-lang/wg-const-eval"]
13251326

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

13271336
# ------------------------------------------------------------------------------
13281337
# PR assignments

0 commit comments

Comments
 (0)