diff options
| author | Matthias Krüger <476013+matthiaskrgr@users.noreply.github.com> | 2025-09-09 17:32:22 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-09-09 17:32:22 +0200 |
| commit | af4cecebd9452f57355194cd9e23a79bc58acb04 (patch) | |
| tree | c2a23c648a3287facdb814098857f4752186e084 | |
| parent | f46ddbab2fa55490ca8d8bce89db8203ba48e834 (diff) | |
| parent | c63e03490692c2e90e927bae35f51a1f59252868 (diff) | |
| download | rust-af4cecebd9452f57355194cd9e23a79bc58acb04.tar.gz rust-af4cecebd9452f57355194cd9e23a79bc58acb04.zip | |
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 ⚠️.
| -rw-r--r-- | triagebot.toml | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/triagebot.toml b/triagebot.toml index bf9bfee4306..2d58c616bc2 100644 --- a/triagebot.toml +++ b/triagebot.toml @@ -1308,21 +1308,32 @@ cc = ["@m-ou-se"] [mentions."compiler/rustc_ast_lowering/src/format.rs"] cc = ["@m-ou-se"] +# Content-based mentions + [mentions."#[miri::intrinsic_fallback_is_spec]"] type = "content" message = """ -`#[miri::intrinsic_fallback_is_spec]` must only be used if the function actively checks for all UB cases, +⚠️ `#[miri::intrinsic_fallback_is_spec]` must only be used if the function actively checks for all UB cases, and explores the possible non-determinism of the intrinsic. """ cc = ["@rust-lang/miri"] + [mentions."#[rustc_allow_const_fn_unstable"] type = "content" message = """ -`#[rustc_allow_const_fn_unstable]` needs careful audit to avoid accidentally exposing unstable +⚠️ `#[rustc_allow_const_fn_unstable]` needs careful audit to avoid accidentally exposing unstable implementation details on stable. """ cc = ["@rust-lang/wg-const-eval"] +[mentions."#[rustc_intrinsic_const_stable_indirect]"] +type = "content" +message = """ +⚠️ `#[rustc_intrinsic_const_stable_indirect]` controls whether intrinsics can be exposed to stable const +code; adding it needs t-lang approval. +""" +cc = ["@rust-lang/wg-const-eval"] + # ------------------------------------------------------------------------------ # PR assignments |
