about summary refs log tree commit diff
path: root/compiler/rustc_mir_transform/src/coverage/counters.rs
diff options
context:
space:
mode:
authorJacob Pratt <jacob@jhpratt.dev>2025-05-26 03:38:19 +0200
committerGitHub <noreply@github.com>2025-05-26 03:38:19 +0200
commit5a8cb6f892b7606a0fbe0f766d53935a797d5ff0 (patch)
tree1fecdbd77d68c6618d8e4a217afe2581516817d3 /compiler/rustc_mir_transform/src/coverage/counters.rs
parent905b46a6d497938eada5a442f7b199a46bf3da16 (diff)
parentcf9ac0eec16bb863add283b58de5a25a131b142d (diff)
downloadrust-5a8cb6f892b7606a0fbe0f766d53935a797d5ff0.tar.gz
rust-5a8cb6f892b7606a0fbe0f766d53935a797d5ff0.zip
Rollup merge of #141559 - RalfJung:less-rustc_allow_const_fn_unstable, r=compiler-errors
const-check: stop recommending the use of rustc_allow_const_fn_unstable

I have seen way too many people see the compiler suggest this attribute and then just apply it without a second thought. This is bad. So let's just stop recommending it; for the rare case where someone needs it, they'll eventually ask us and that way we can be sure that it is truly needed. The dev-guide still also explains `rustc_allow_const_fn_unstable`.

Cc ``@rust-lang/wg-const-eval``
Diffstat (limited to 'compiler/rustc_mir_transform/src/coverage/counters.rs')
0 files changed, 0 insertions, 0 deletions