-
Notifications
You must be signed in to change notification settings - Fork 12.8k
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 15 pull requests #77172
Rollup of 15 pull requests #77172
Commits on Sep 15, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 8e3ce43 - Browse repository at this point
Copy the full SHA 8e3ce43View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0475c36 - Browse repository at this point
Copy the full SHA 0475c36View commit details
Commits on Sep 20, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 3f0f409 - Browse repository at this point
Copy the full SHA 3f0f409View commit details
Commits on Sep 21, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 16eee2a - Browse repository at this point
Copy the full SHA 16eee2aView commit details
Commits on Sep 22, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 4a6bc77 - Browse repository at this point
Copy the full SHA 4a6bc77View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0082d20 - Browse repository at this point
Copy the full SHA 0082d20View commit details -
Configuration menu - View commit details
-
Copy full SHA for 179f63d - Browse repository at this point
Copy the full SHA 179f63dView commit details -
Configuration menu - View commit details
-
Copy full SHA for b6e7283 - Browse repository at this point
Copy the full SHA b6e7283View commit details -
Configuration menu - View commit details
-
Copy full SHA for 87a5dec - Browse repository at this point
Copy the full SHA 87a5decView commit details -
Don't use an if guard to check equality with a constant
Match on it directly instead
Configuration menu - View commit details
-
Copy full SHA for c078905 - Browse repository at this point
Copy the full SHA c078905View commit details -
Configuration menu - View commit details
-
Copy full SHA for ec4e9cd - Browse repository at this point
Copy the full SHA ec4e9cdView commit details -
Configuration menu - View commit details
-
Copy full SHA for d76b807 - Browse repository at this point
Copy the full SHA d76b807View commit details
Commits on Sep 23, 2020
-
Configuration menu - View commit details
-
Copy full SHA for ed97b42 - Browse repository at this point
Copy the full SHA ed97b42View commit details -
Configuration menu - View commit details
-
Copy full SHA for dd66ea2 - Browse repository at this point
Copy the full SHA dd66ea2View commit details -
Make delegation methods of
std::net::IpAddr
unstable constMake the following methods of `std::net::IpAddr` unstable const under the `const_ip` feature: - `is_unspecified` - `is_loopback` - `is_global` - `is_multicast` Also adds a test for these methods in a const context. Possible because these methods delegate to the inner `Ipv4Addr` or `Ipv6Addr`, which were made const, and the recent stabilization of const control flow. Part of #76205
Configuration menu - View commit details
-
Copy full SHA for 947536f - Browse repository at this point
Copy the full SHA 947536fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 138a2e5 - Browse repository at this point
Copy the full SHA 138a2e5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5b30161 - Browse repository at this point
Copy the full SHA 5b30161View commit details -
Configuration menu - View commit details
-
Copy full SHA for 764967a - Browse repository at this point
Copy the full SHA 764967aView commit details
Commits on Sep 24, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 085679c - Browse repository at this point
Copy the full SHA 085679cView commit details -
Configuration menu - View commit details
-
Copy full SHA for a320ef7 - Browse repository at this point
Copy the full SHA a320ef7View commit details -
Configuration menu - View commit details
-
Copy full SHA for e5e5e64 - Browse repository at this point
Copy the full SHA e5e5e64View commit details -
Remove workaround for deref issue that no longer exists.
The double underscores were used to work around issue #12808, which was solved in 2016.
Configuration menu - View commit details
-
Copy full SHA for 13dc237 - Browse repository at this point
Copy the full SHA 13dc237View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7dec440 - Browse repository at this point
Copy the full SHA 7dec440View commit details -
Configuration menu - View commit details
-
Copy full SHA for ebf024b - Browse repository at this point
Copy the full SHA ebf024bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0f59469 - Browse repository at this point
Copy the full SHA 0f59469View commit details
Commits on Sep 25, 2020
-
Rollup merge of #75438 - Cldfire:rustdoc/use-adaptive-svg-favicon, r=…
…GuillaumeGomez Use adaptive SVG favicon for rustdoc like other rust sites Use the theme-adaptive SVG favicon that was recently introduced [for the Rust site](rust-lang/www.rust-lang.org#1185) (and others). (This PR is simply copied from the PR linked above, so see that for rationale.) Closes #72165. Before, Firefox on Linux: ![image](https://user-images.githubusercontent.com/13814214/89971811-34c0a900-dc2a-11ea-9aa6-a4aa9d66bed4.png) After, Firefox on Linux (`prefers-color-scheme` set to `dark` by setting `ui.systemUsesDarkTheme` to a number value of `1` in `about:config`): ![image](https://user-images.githubusercontent.com/13814214/89971842-515ce100-dc2a-11ea-92e8-c374aaaf6031.png)
Configuration menu - View commit details
-
Copy full SHA for 15efed4 - Browse repository at this point
Copy the full SHA 15efed4View commit details -
Rollup merge of #76304 - CDirkx:const-ip, r=ecstatic-morse
Make delegation methods of `std::net::IpAddr` unstably const Make the following methods of `std::net::IpAddr` unstable const under the `const_ip` feature: - `is_unspecified` - `is_loopback` - `is_global` - `is_multicast` Also adds a test for these methods in a const context. Possible because these methods delegate to the inner `Ipv4Addr` or `Ipv6Addr`, which were made const ([PR#76205](#76142) and [PR#76206](#76206)), and the recent stabilization of const control flow. Part of #76205 r? @ecstatic-morse
Configuration menu - View commit details
-
Copy full SHA for 88e3693 - Browse repository at this point
Copy the full SHA 88e3693View commit details -
Rollup merge of #76724 - ecstatic-morse:dataflow-pass-names, r=lcnr
Allow a unique name to be assigned to dataflow graphviz output Previously, if the same analysis were invoked multiple times in a single compilation session, the graphviz output for later runs would overwrite that of previous runs. Allow callers to add a unique identifier to each run so this can be avoided.
Configuration menu - View commit details
-
Copy full SHA for d766c23 - Browse repository at this point
Copy the full SHA d766c23View commit details -
Rollup merge of #76978 - duckymirror:mpsc-from-doc, r=jyn514
Documented From impls in std/sync/mpsc/mod.rs This is for #51430. r? @steveklabnik
Configuration menu - View commit details
-
Copy full SHA for 452c86e - Browse repository at this point
Copy the full SHA 452c86eView commit details -
Rollup merge of #77044 - pickfire:patch-4, r=jyn514
Liballoc bench vec use mem take not replace
Configuration menu - View commit details
-
Copy full SHA for 67bcf04 - Browse repository at this point
Copy the full SHA 67bcf04View commit details -
Rollup merge of #77050 - follower:patch-1, r=oli-obk
Typo fix: "satsify" -> "satisfy"
Configuration menu - View commit details
-
Copy full SHA for 862faea - Browse repository at this point
Copy the full SHA 862faeaView commit details -
Rollup merge of #77074 - lcnr:array-from-ref, r=SimonSapin
add array::from_ref mirrors the methods in `std::slice` with the same name. I guess this method previously didn't exist as there was close to no reason to create an array of size `1`. This will change due to const generics in the near future.
Configuration menu - View commit details
-
Copy full SHA for 09b0bd6 - Browse repository at this point
Copy the full SHA 09b0bd6View commit details -
Rollup merge of #77078 - LingMan:patch-2, r=jonas-schievink
Don't use an if guard to check equality with a constant Match on it directly instead
Configuration menu - View commit details
-
Copy full SHA for 28e0bc9 - Browse repository at this point
Copy the full SHA 28e0bc9View commit details -
Rollup merge of #77079 - poliorcetics:more-self-in-docs, r=jyn514
Configuration menu - View commit details
-
Copy full SHA for dc4f39c - Browse repository at this point
Copy the full SHA dc4f39cView commit details -
Rollup merge of #77081 - LingMan:patch-1, r=jonas-schievink
Merge two almost identical match arms
Configuration menu - View commit details
-
Copy full SHA for b8ab6eb - Browse repository at this point
Copy the full SHA b8ab6ebView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6f3da3d - Browse repository at this point
Copy the full SHA 6f3da3dView commit details -
Rollup merge of #77136 - ecstatic-morse:issue-77134, r=oli-obk
Suggest `const_mut_refs`, not `const_fn` for mutable references in `const fn` Resolves #77134. Prior to #76850, most uses of `&mut` in `const fn` ~~required~~ involved two feature gates, `const_mut_refs` and `const_fn`. The first allowed all mutable borrows of locals. The second allowed only locals, arguments and return values whose types contained `&mut`. I switched the second check to the `const_mut_refs` gate. However, I forgot update the error message with the new suggestion. Alternatively, we could revert to having two different feature gates for this. OP's code never borrows anything mutably, so it didn't need `const_mut_refs` in the past, only `const_fn`. I'd prefer to keep everything under a single gate, however. r? @oli-obk
Configuration menu - View commit details
-
Copy full SHA for 473ae22 - Browse repository at this point
Copy the full SHA 473ae22View commit details -
Rollup merge of #77160 - ecstatic-morse:const-fn-transmute-suggestion…
Configuration menu - View commit details
-
Copy full SHA for b8d158b - Browse repository at this point
Copy the full SHA b8d158bView commit details -
Rollup merge of #77164 - fusion-engineering-forks:no-more-funny-under…
…scores, r=Mark-Simulacrum Remove workaround for deref issue that no longer exists. The double underscores were used to work around issue #12808, which was solved in 2016.
Configuration menu - View commit details
-
Copy full SHA for fc4dc5f - Browse repository at this point
Copy the full SHA fc4dc5fView commit details -
Rollup merge of #77165 - simonvandel:do-not-fire-on-drop-and-replace,…
… r=oli-obk Followup to #76673 Resolves #76673 (comment) r? @tmiasko
Configuration menu - View commit details
-
Copy full SHA for 8515efb - Browse repository at this point
Copy the full SHA 8515efbView commit details