diff options
| author | Ralf Jung <post@ralfj.de> | 2025-09-09 08:31:52 +0200 |
|---|---|---|
| committer | Ralf Jung <post@ralfj.de> | 2025-09-09 08:34:15 +0200 |
| commit | c63e03490692c2e90e927bae35f51a1f59252868 (patch) | |
| tree | 86cc7566560fd49480a04513134ca40106e63fa3 | |
| parent | ebdf2abea4b46fcbba959eee1207c979c77dc95c (diff) | |
| download | rust-c63e03490692c2e90e927bae35f51a1f59252868.tar.gz rust-c63e03490692c2e90e927bae35f51a1f59252868.zip | |
triagebot: warn about #[rustc_intrinsic_const_stable_indirect]; make warnings a bit more noticeable
| -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 |
