-
Notifications
You must be signed in to change notification settings - Fork 12.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
remove feature gate in control_flow examples #94283
Conversation
(rust-highfive has picked a reviewer for you, use r? to override) |
r? @Dylan-DPC |
@bors r+ rollup |
📌 Commit c403424 has been approved by |
…askrgr Rollup of 9 pull requests Successful merges: - rust-lang#89887 (Change `char` type in debuginfo to DW_ATE_UTF) - rust-lang#94267 (Remove unused ordering derivations and bounds for `SimplifiedTypeGen`) - rust-lang#94270 (Miri: relax fn ptr check) - rust-lang#94273 (add matching doc to errorkind) - rust-lang#94283 (remove feature gate in control_flow examples) - rust-lang#94288 (Cleanup a few Decoder methods) - rust-lang#94292 (riscv32imc_esp_espidf: set max_atomic_width to 64) - rust-lang#94296 (:arrow_up: rust-analyzer) - rust-lang#94300 (Fix a typo in documentation of `array::IntoIter::new_unchecked`) Failed merges: r? `@ghost` `@rustbot` modify labels: rollup
Beta nominated to avoid confusion. |
CI did not catch this because the feature gate is still unstable -- it's probably not used for these examples, which is why removing it is fine, but I think we don't track libs feature usage at such a level? |
I'm not sure I understand the comment. The |
Yeah, @Urgau pointed me to the rustdoc allow list -- that's likely the real issue here. That said, it does look like there are some unstable remnants too still under control_flow_enum ( rust/library/core/src/ops/control_flow.rs Line 177 in 08504c6
|
Discussed briefly in an ad-hoc libs meeting (with very partial attendance), but in any case, seems like a reasonable backport. Approving. |
…ulacrum [beta] backports * Update LLVM submodule rust-lang#94764 * Statically compile libstdc++ everywhere if asked rust-lang#94719 * Downgrade #[test] on macro call to warning rust-lang#94624 * Delay bug in expr adjustment when check_expr is called multiple times rust-lang#94596 * bootstrap: correct reading of flags for llvm rust-lang#94466 * Check method input expressions once rust-lang#94438 * remove feature gate in control_flow examples rust-lang#94283 r? `@Mark-Simulacrum`
Stabilization was done in #91091, but the two examples weren't updated accordingly.
Probably too late to put it into stable, but it should be in the next release :)