File tree Expand file tree Collapse file tree 1 file changed +13
-2
lines changed Expand file tree Collapse file tree 1 file changed +13
-2
lines changed Original file line number Diff line number Diff line change @@ -1308,21 +1308,32 @@ cc = ["@m-ou-se"]
13081308[mentions ."compiler/rustc_ast_lowering/src/format .rs" ]
13091309cc = [" @m-ou-se" ]
13101310
1311+ # Content-based mentions
1312+
13111313[mentions."#[miri::intrinsic_fallback_is_spec]"]
13121314type = " content"
13131315message = """
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,
13151317and explores the possible non-determinism of the intrinsic.
13161318"""
13171319cc = [" @rust-lang/miri" ]
1320+
13181321[mentions."#[rustc_allow_const_fn_unstable"]
13191322type = " content"
13201323message = """
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
13221325implementation details on stable.
13231326"""
13241327cc = [" @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
You can’t perform that action at this time.
0 commit comments