Revert "Stabilize str_as_str"#152963
Conversation
|
r? @jhpratt rustbot has assigned @jhpratt. Use Why was this reviewer chosen?The reviewer was selected based on:
|
This comment has been minimized.
This comment has been minimized.
63d80dd to
9f0a410
Compare
|
Can a regression test be added (i.e. #152961 (comment)) to catch future re-regressions? |
|
Not sure what folder in tests is the best place, I'm picking |
58ecac9 to
51d7272
Compare
|
Yeah I'm not sure, since this really is more of a libs test. Maybe the libs reviewer will have a better idea. Still, having a test to catch future re-regressions is better than not having any. |
|
LGTM, |
|
@bors r+ rollup |
|
Regarding location, I don't think it particularly matters, as this is hopefully short lived :) |
… r=jhpratt Revert "Stabilize `str_as_str`" Reverts rust-lang#151603, clean revert. Fixes rust-lang#152961
… r=jhpratt Revert "Stabilize `str_as_str`" Reverts rust-lang#151603, clean revert. Fixes rust-lang#152961
Rollup of 9 pull requests Successful merges: - #152229 (Remove deterministic picking from query cycle handling) - #152970 (extend unpin noalias tests to cover mutable references) - #149783 (stabilize `cfg_select!`) - #151744 (fix refining_impl_trait suggestion with return_type_notation) - #152366 (Add try_shrink_to and try_shrink_to_fit to Vec) - #152640 (Add direct link to rustc-dev-guide in README) - #152963 (Revert "Stabilize `str_as_str`") - #152984 (Remove redundant call to `check_codegen_attributes_extra` in Inliner) - #152987 (Use `HashStable` derive in more places)
nightly-2026-02-22+ includes the str::as_str() stabilization (rust-lang/rust#151603) which shadows shellexpand 3.1.1's WstrExt::as_str() trait method, causing a compile error. Pin to nightly-2026-02-21 and invoke cargo-udeps directly since `just check-udeps` hardcodes `cargo +nightly`. Revert once rust-lang/rust#152963 lands in nightly.
nightly-2026-02-22+ includes the str::as_str() stabilization (rust-lang/rust#151603) which shadows shellexpand 3.1.1's WstrExt::as_str() trait method, causing a compile error. Pin to nightly-2026-02-21 and invoke cargo-udeps directly since `just check-udeps` hardcodes `cargo +nightly`. Revert once rust-lang/rust#152963 lands in nightly.
Rollup of 9 pull requests Successful merges: - rust-lang/rust#152229 (Remove deterministic picking from query cycle handling) - rust-lang/rust#152970 (extend unpin noalias tests to cover mutable references) - rust-lang/rust#149783 (stabilize `cfg_select!`) - rust-lang/rust#151744 (fix refining_impl_trait suggestion with return_type_notation) - rust-lang/rust#152366 (Add try_shrink_to and try_shrink_to_fit to Vec) - rust-lang/rust#152640 (Add direct link to rustc-dev-guide in README) - rust-lang/rust#152963 (Revert "Stabilize `str_as_str`") - rust-lang/rust#152984 (Remove redundant call to `check_codegen_attributes_extra` in Inliner) - rust-lang/rust#152987 (Use `HashStable` derive in more places)
Reverts #151603, clean revert.
Fixes #152961