mirror of
https://github.com/rust-lang/rust.git
synced 2026-01-24 23:17:31 +00:00
triagebot: warn about #[rustc_intrinsic_const_stable_indirect]; make warnings a bit more noticeable
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user