-
Notifications
You must be signed in to change notification settings - Fork 12.5k
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 9 pull requests #107143
Rollup of 9 pull requests #107143
Commits on Nov 20, 2022
-
Unify stable and unstable sort implementations in same core module
This moves the stable sort implementation to the core::slice::sort module. By virtue of being in core it can't access `Vec`. The two `Vec` used by merge sort, `buf` and `runs`, are modelled as custom types that implement the very limited required `Vec` interface with the help of provided allocation and free functions. This is done to allow future re-use of functions and logic between stable and unstable sort. Such as `insert_head`.
Configuration menu - View commit details
-
Copy full SHA for dbc0ed2 - Browse repository at this point
Copy the full SHA dbc0ed2View commit details
Commits on Nov 21, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 1ec59cd - Browse repository at this point
Copy the full SHA 1ec59cdView commit details -
There were several unsafe blocks in the existing implementation that were not documented with a SAFETY comment.
Configuration menu - View commit details
-
Copy full SHA for 4b5844f - Browse repository at this point
Copy the full SHA 4b5844fView commit details
Commits on Jan 19, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 280f69d - Browse repository at this point
Copy the full SHA 280f69dView commit details -
Configuration menu - View commit details
-
Copy full SHA for c9c8e29 - Browse repository at this point
Copy the full SHA c9c8e29View commit details -
Configuration menu - View commit details
-
Copy full SHA for aee75f2 - Browse repository at this point
Copy the full SHA aee75f2View commit details -
Configuration menu - View commit details
-
Copy full SHA for f53f5b4 - Browse repository at this point
Copy the full SHA f53f5b4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 69890b2 - Browse repository at this point
Copy the full SHA 69890b2View commit details -
Configuration menu - View commit details
-
Copy full SHA for ed6aebb - Browse repository at this point
Copy the full SHA ed6aebbView commit details -
rustdoc: remove redundant CSS selector
.sidebar .current
Since the current sidebar item is already a link, it doesn't do anything.
Configuration menu - View commit details
-
Copy full SHA for 05889fc - Browse repository at this point
Copy the full SHA 05889fcView commit details
Commits on Jan 20, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 734f375 - Browse repository at this point
Copy the full SHA 734f375View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1cbce72 - Browse repository at this point
Copy the full SHA 1cbce72View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1adb4d6 - Browse repository at this point
Copy the full SHA 1adb4d6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 540ca2f - Browse repository at this point
Copy the full SHA 540ca2fView commit details -
Configuration menu - View commit details
-
Copy full SHA for a641b92 - Browse repository at this point
Copy the full SHA a641b92View commit details -
rustdoc: use CSS inline layout for radio line instead of flexbox
This uses less code to lay them out the same way.
Configuration menu - View commit details
-
Copy full SHA for 112d85c - Browse repository at this point
Copy the full SHA 112d85cView commit details -
Configuration menu - View commit details
-
Copy full SHA for e9d8d23 - Browse repository at this point
Copy the full SHA e9d8d23View commit details -
Configuration menu - View commit details
-
Copy full SHA for e237690 - Browse repository at this point
Copy the full SHA e237690View commit details -
Configuration menu - View commit details
-
Copy full SHA for dca160a - Browse repository at this point
Copy the full SHA dca160aView commit details -
Configuration menu - View commit details
-
Copy full SHA for c07a722 - Browse repository at this point
Copy the full SHA c07a722View commit details
Commits on Jan 21, 2023
-
Rollup merge of rust-lang#104154 - timrobertsdev:deny-by-default-bind…
…ings_with_variant_name, r=scottmcm Change `bindings_with_variant_name` to deny-by-default Changed the `bindings_with_variant_name` lint to deny-by-default and fixed up the affected tests. Addresses rust-lang#103442.
Configuration menu - View commit details
-
Copy full SHA for e640069 - Browse repository at this point
Copy the full SHA e640069View commit details -
Rollup merge of rust-lang#104347 - notriddle:notriddle/import-macro-f…
…rom-self-fixup, r=TaKO8Ki diagnostics: suggest changing `s@self::{macro}@::macro` for exported Fixes rust-lang#99695
Configuration menu - View commit details
-
Copy full SHA for bf75f81 - Browse repository at this point
Copy the full SHA bf75f81View commit details -
Rollup merge of rust-lang#104672 - Voultapher:unify-sort-modules, r=t…
…homcc Unify stable and unstable sort implementations in same core module This moves the stable sort implementation to the core::slice::sort module. By virtue of being in core it can't access `Vec`. The two `Vec` used by merge sort, `buf` and `runs`, are modelled as custom types that implement the very limited required `Vec` interface with the help of provided allocation and free functions. This is done to allow future re-use of functions and logic between stable and unstable sort. Such as `insert_head`. This is in preparation of rust-lang#100856 and rust-lang#104116. It only moves code, it *doesn't* change any of the sort related logic. This unlocks the ability to share `insert_head`, `insert_tail`, `swap_if_less` `merge` and more. Tagging ````@Mark-Simulacrum```` I hope this allows progress on rust-lang#100856, by moving `merge_sort` here I hope future changes will be easier to review.
Configuration menu - View commit details
-
Copy full SHA for 68b390a - Browse repository at this point
Copy the full SHA 68b390aView commit details -
Rollup merge of rust-lang#107048 - DebugSteven:newer-x-check-cargo, r…
…=albertlarsan68 check for x version updates This PR adds a check to tidy to assert that the installed version of `x` is equal to the version in `src/tools/x/Cargo.toml`. It checks the installed version of `x` by parsing the output of `cargo install --list` (as an option proposed in this [issue](rust-lang#106469)). It does not warn if `x` has not yet been installed, on the assumption that the user isn't interested in using it.
Configuration menu - View commit details
-
Copy full SHA for d26c88c - Browse repository at this point
Copy the full SHA d26c88cView commit details -
Rollup merge of rust-lang#107061 - compiler-errors:new-solver-new-can…
…didates-3, r=lcnr Implement some more new solver candidates and fix some bugs First, fix some bugs: 1. `IndexVec::drain_enumerated(a..b)` does not give us an iterator of index keys + items enumerated from `a..b`, but from `0..(b-a)`... That caused a bug. See first commit for the fix. 2. Implement the `_: Trait` ambiguity hack. I put it in assemble, let me know if it should live elsewhere. This is important, since we otherwise consider `_: Sized` to have no solutions, and nothing passes! 3. Swap `Ambiguity` and `Unimplemented` cases for the new solver. Sorry for accidentally swapping them 😄 4. Check GATs' own predicates during projection confirmation. Then implement a few builtin traits: 5. Implement `PointerSized`. Pretty independent. 6. Implement `Fn` family of traits for fnptr, fndef, and closures. Closures are currently broken because `FulfillCtxt::relationships` is intentionally left unimplemented. See comment in the test. r? ```@lcnr```
Configuration menu - View commit details
-
Copy full SHA for 3452104 - Browse repository at this point
Copy the full SHA 3452104View commit details -
Rollup merge of rust-lang#107095 - notriddle:notriddle/sidebar-curren…
…t, r=GuillaumeGomez rustdoc: remove redundant CSS selector `.sidebar .current` Since the current sidebar item is already a link, it doesn't do anything.
Configuration menu - View commit details
-
Copy full SHA for 7565b9a - Browse repository at this point
Copy the full SHA 7565b9aView commit details -
Rollup merge of rust-lang#107112 - eltociear:patch-19, r=albertlarsan68
Fix typo in opaque_types.rs paramters -> parameters
Configuration menu - View commit details
-
Copy full SHA for 7168aa5 - Browse repository at this point
Copy the full SHA 7168aa5View commit details -
Rollup merge of rust-lang#107124 - DebugSteven:check-macro-expansion,…
… r=albertlarsan68 fix check macro expansion If the only argument to `check!` is the module name I get this error: ``` error: expected expression, found `,` --> src/tools/tidy/src/main.rs:63:42 | 57 | / macro_rules! check { 58 | | ($p:ident $(, $args:expr)* ) => { 59 | | drain_handles(&mut handles); 60 | | ... | 63 | | $p::check($($args),* , &mut flag); | | ^ expected expression ... | 69 | | } 70 | | } | |_________- in this expansion of `check!` ... 117 | check!(hey); | ----------- in this macro invocation ``` This change makes it so commas are added only when there are `args`. r? ```@albertlarsan68```
Configuration menu - View commit details
-
Copy full SHA for a4f0126 - Browse repository at this point
Copy the full SHA a4f0126View commit details -
Rollup merge of rust-lang#107131 - notriddle:notriddle/rustdoc-radio-…
…display-inline-flex, r=GuillaumeGomez rustdoc: use CSS inline layout for radio line instead of flexbox This uses less code to lay them out the same way. Already tested here: https://github.com/rust-lang/rust/blob/5ce39f42bd2c8bca9c570f0560ebe1fce4eddb14/tests/rustdoc-gui/settings.goml#L123
Configuration menu - View commit details
-
Copy full SHA for 34d4df5 - Browse repository at this point
Copy the full SHA 34d4df5View commit details