-
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 7 pull requests #94148
Rollup of 7 pull requests #94148
Commits on Feb 10, 2022
-
updating the feature-gate listing and do not require the feature-gate…
… to use the feature
Charisee committedFeb 10, 2022 Configuration menu - View commit details
-
Copy full SHA for 4404a4e - Browse repository at this point
Copy the full SHA 4404a4eView commit details -
replace feature expression (cfg_panic) in lib and remove expression f…
…rom tests Rebase commit
Charisee committedFeb 10, 2022 Configuration menu - View commit details
-
Copy full SHA for 5e6be7d - Browse repository at this point
Copy the full SHA 5e6be7dView commit details -
Charisee committed
Feb 10, 2022 Configuration menu - View commit details
-
Copy full SHA for 962094b - Browse repository at this point
Copy the full SHA 962094bView commit details -
remove reference of cfg-panic from the unstable book
Charisee committedFeb 10, 2022 Configuration menu - View commit details
-
Copy full SHA for 46ec73a - Browse repository at this point
Copy the full SHA 46ec73aView commit details -
remove mention of cfg_panic from library tests
Charisee committedFeb 10, 2022 Configuration menu - View commit details
-
Copy full SHA for d018a8b - Browse repository at this point
Copy the full SHA d018a8bView commit details -
Charisee committed
Feb 10, 2022 Configuration menu - View commit details
-
Copy full SHA for a889079 - Browse repository at this point
Copy the full SHA a889079View commit details -
Charisee committed
Feb 10, 2022 Configuration menu - View commit details
-
Copy full SHA for dbeab9c - Browse repository at this point
Copy the full SHA dbeab9cView commit details
Commits on Feb 13, 2022
-
Configuration menu - View commit details
-
Copy full SHA for ae15822 - Browse repository at this point
Copy the full SHA ae15822View commit details
Commits on Feb 16, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 11ec2a4 - Browse repository at this point
Copy the full SHA 11ec2a4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1b7c3bc - Browse repository at this point
Copy the full SHA 1b7c3bcView commit details -
Configuration menu - View commit details
-
Copy full SHA for f41722a - Browse repository at this point
Copy the full SHA f41722aView commit details
Commits on Feb 17, 2022
-
Add debug asserts to validate NUL terminator in c strings
Signed-off-by: Alex Saveau <saveau.alexandre@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 897c8d0 - Browse repository at this point
Copy the full SHA 897c8d0View commit details -
Fix ScalarInt to char conversion
to avoid panic for invalid Unicode scalar values
Configuration menu - View commit details
-
Copy full SHA for 8cd9dfa - Browse repository at this point
Copy the full SHA 8cd9dfaView commit details
Commits on Feb 18, 2022
-
Configuration menu - View commit details
-
Copy full SHA for a677e60 - Browse repository at this point
Copy the full SHA a677e60View commit details
Commits on Feb 19, 2022
-
Rollup merge of rust-lang#92902 - ssomers:docter_drain, r=yaahc
Improve the documentation of drain members hopefully fixes rust-lang#92765
Configuration menu - View commit details
-
Copy full SHA for 4fa71ed - Browse repository at this point
Copy the full SHA 4fa71edView commit details -
Rollup merge of rust-lang#93658 - cchiw:issue-77443-fix, r=joshtriplett
Stabilize `#[cfg(panic = "...")]` [Stabilization PR](https://rustc-dev-guide.rust-lang.org/stabilization_guide.html#stabilization-pr) for rust-lang#77443
Configuration menu - View commit details
-
Copy full SHA for f19adc7 - Browse repository at this point
Copy the full SHA f19adc7View commit details -
Rollup merge of rust-lang#93954 - aDotInTheVoid:json-buffer, r=Mark-S…
…imulacrum rustdoc-json: buffer output It turns out we were doing syscalls for each part of the json syntax Before: ``` ... [pid 1801267] write(5, "\"", 1) = 1 [pid 1801267] write(5, ",", 1) = 1 [pid 1801267] write(5, "\"", 1) = 1 ... ``` After: ``` [pid 1974821] write(5, "{\"root\":\"0:0\",\"crate_version\":nu"..., 1575) = 1575 ``` In one benchmark (one struct, almost all time in `std`), this gives ~2x perf r? `@CraftSpider` `@rustbot` modify labels: +A-rustdoc-json +T-rustdoc -A-testsuite
Configuration menu - View commit details
-
Copy full SHA for 554aea9 - Browse repository at this point
Copy the full SHA 554aea9View commit details -
Rollup merge of rust-lang#93979 - SUPERCILEX:debug_check, r=dtolnay
Add debug assertions to validate NUL terminator in c strings The `unchecked` variants from the stdlib usually perform the check anyway if debug assertions are on (for example, `unwrap_unchecked`). This PR does the same thing for `CStr` and `CString`, validating the correctness for the NUL byte in debug mode.
Configuration menu - View commit details
-
Copy full SHA for 26dd6ac - Browse repository at this point
Copy the full SHA 26dd6acView commit details -
Rollup merge of rust-lang#93990 - lcnr:pre-89862-cleanup, r=estebank
pre rust-lang#89862 cleanup changes used in rust-lang#89862 which can be landed without the rest of this PR being finished. r? `@estebank`
Configuration menu - View commit details
-
Copy full SHA for 78e4456 - Browse repository at this point
Copy the full SHA 78e4456View commit details -
Rollup merge of rust-lang#94006 - pierwill:upvar-field, r=nikomatsakis
Use a `Field` in `ConstraintCategory::ClosureUpvar` As part of rust-lang#90317, we do not want `HirId` to implement `Ord`, `PartialOrd`. This line of code has made that difficult https://github.com/rust-lang/rust/blob/1b27144afc77031ba9c05d86c06c64485589775a/compiler/rustc_borrowck/src/region_infer/mod.rs#L2184 since it sorts a [`ConstraintCategory::ClosureUpvar(HirId)`](https://doc.rust-lang.org/nightly/nightly-rustc/rustc_middle/mir/enum.ConstraintCategory.html#variant.ClosureUpvar). This PR makes that variant take a [`Field`](https://doc.rust-lang.org/nightly/nightly-rustc/rustc_middle/mir/struct.Field.html) instead. r? `@nikomatsakis`
Configuration menu - View commit details
-
Copy full SHA for c28940e - Browse repository at this point
Copy the full SHA c28940eView commit details -
Rollup merge of rust-lang#94086 - tmiasko:char-try-from-scalar-int, r…
…=davidtwco Fix ScalarInt to char conversion to avoid panic for invalid Unicode scalar values
Configuration menu - View commit details
-
Copy full SHA for 5a083db - Browse repository at this point
Copy the full SHA 5a083dbView commit details