mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-16 21:15:18 +03:00
0a8e305d91
add back test for stable-const-can-only-call-stable-const This got accidentally removed in https://github.com/rust-lang/rust/pull/128596 (file `tests/ui/internal/internal-unstable-const.rs`). The test has little to do with "allow internal unstable" though, so add it in a file that already tests various const stability things. Also tweak the help that suggests to add `rustc_allow_const_fn_unstable` to make it clear that this needs team approval, since it is a fairly big gun.