-
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
Rollup of 6 pull requests #91013
Rollup of 6 pull requests #91013
Commits on Nov 1, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 5f6cfd2 - Browse repository at this point
Copy the full SHA 5f6cfd2View commit details
Commits on Nov 4, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 084b232 - Browse repository at this point
Copy the full SHA 084b232View commit details
Commits on Nov 12, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 1642fdf - Browse repository at this point
Copy the full SHA 1642fdfView commit details
Commits on Nov 17, 2021
-
Make slice->str conversion and related functions const
This commit makes the following functions from `core::str` `const fn`: - `from_utf8[_mut]` (`feature(const_str_from_utf8)`) - `from_utf8_unchecked_mut` (`feature(const_str_from_utf8_unchecked_mut)`) - `Utf8Error::{valid_up_to,error_len}` (`feature(const_str_from_utf8)`)
Configuration menu - View commit details
-
Copy full SHA for cf6f64a - Browse repository at this point
Copy the full SHA cf6f64aView commit details
Commits on Nov 18, 2021
-
Configuration menu - View commit details
-
Copy full SHA for a7261c3 - Browse repository at this point
Copy the full SHA a7261c3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 530eaa8 - Browse repository at this point
Copy the full SHA 530eaa8View commit details -
Fill in tracking issues for
const_str_from_utf8
and `const_str_from……_utf8_unchecked_mut` features
Configuration menu - View commit details
-
Copy full SHA for 573a00e - Browse repository at this point
Copy the full SHA 573a00eView commit details -
Rollup merge of rust-lang#90386 - pierwill:assert-incr-state-85864, r…
…=Aaron1011 Add `-Zassert-incr-state` to assert state of incremental cache Closes rust-lang#85864.
Configuration menu - View commit details
-
Copy full SHA for 682a636 - Browse repository at this point
Copy the full SHA 682a636View commit details -
Rollup merge of rust-lang#90438 - GuillaumeGomez:doc-show-coverage, r…
…=camelid Clean up mess for --show-coverage documentation It was somewhat duplicated for some reasons... Anyway, this remove this duplication and clean up a bit. r? `@camelid`
Configuration menu - View commit details
-
Copy full SHA for 2c060d5 - Browse repository at this point
Copy the full SHA 2c060d5View commit details -
Rollup merge of rust-lang#90480 - r00ster91:remove, r=kennytm
Mention `Vec::remove` in `Vec::swap_remove`'s docs Thought this was a nice addition.
Configuration menu - View commit details
-
Copy full SHA for 31dcaaf - Browse repository at this point
Copy the full SHA 31dcaafView commit details -
Rollup merge of rust-lang#90578 - lcnr:add-test, r=Mark-Simulacrum
add const generics test cc rust-lang#89829 (comment) r? rust-lang/project-const-generics
Configuration menu - View commit details
-
Copy full SHA for b79d0e3 - Browse repository at this point
Copy the full SHA b79d0e3View commit details -
Rollup merge of rust-lang#90607 - WaffleLapkin:const_str_from_utf8, r…
…=oli-obk Make slice->str conversion and related functions `const` This PR marks the following APIs as `const`: ```rust // core::str pub const fn from_utf8(v: &[u8]) -> Result<&str, Utf8Error>; pub const fn from_utf8_mut(v: &mut [u8]) -> Result<&mut str, Utf8Error>; pub const unsafe fn from_utf8_unchecked_mut(v: &mut [u8]) -> &mut str; impl Utf8Error { pub const fn valid_up_to(&self) -> usize; pub const fn error_len(&self) -> Option<usize>; } ``` Everything but `from_utf8_unchecked_mut` uses `const_str_from_utf8` feature gate, `from_utf8_unchecked_mut` uses `const_str_from_utf8_unchecked_mut` feature gate. --- I'm not sure why `from_utf8_unchecked_mut` was left out being non-`const`, considering that `from_utf8_unchecked` is not only `const`, but **`const` stable**. --- r? `@oli-obk` (performance-only `const_eval_select` use)
Configuration menu - View commit details
-
Copy full SHA for b8ef644 - Browse repository at this point
Copy the full SHA b8ef644View commit details -
Rollup merge of rust-lang#90989 - notriddle:notriddle/rustc-suggest-f…
…loat-ending-in-dot, r=sanxiyn Avoid suggesting literal formatting that turns into member access Fixes rust-lang#90974
Configuration menu - View commit details
-
Copy full SHA for a1bd7c9 - Browse repository at this point
Copy the full SHA a1bd7c9View commit details