-
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 12 pull requests #74073
Rollup of 12 pull requests #74073
Commits on May 27, 2020
-
Configuration menu - View commit details
-
Copy full SHA for b4337ab - Browse repository at this point
Copy the full SHA b4337abView commit details
Commits on Jun 27, 2020
-
Configuration menu - View commit details
-
Copy full SHA for f772587 - Browse repository at this point
Copy the full SHA f772587View commit details -
Update src/doc/unstable-book/src/language-features/rustc-attrs.md
Co-authored-by: Ralf Jung <post@ralfj.de>
Configuration menu - View commit details
-
Copy full SHA for 725918f - Browse repository at this point
Copy the full SHA 725918fView commit details
Commits on Jun 28, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 0e6f109 - Browse repository at this point
Copy the full SHA 0e6f109View commit details
Commits on Jun 29, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 49b4804 - Browse repository at this point
Copy the full SHA 49b4804View commit details -
Configuration menu - View commit details
-
Copy full SHA for aab37fe - Browse repository at this point
Copy the full SHA aab37feView commit details -
Fix try_print_visible_def_path for Rust 2018
The recursive check of `try_print_visible_def_path` did not properly handle the Rust 2018 case of crate-paths without 'extern crate'. Instead, it returned a "not found" via (false, self). This fixes issue rust-lang#56175.
Configuration menu - View commit details
-
Copy full SHA for 5427d3b - Browse repository at this point
Copy the full SHA 5427d3bView commit details
Commits on Jul 1, 2020
-
Configuration menu - View commit details
-
Copy full SHA for f77b6fe - Browse repository at this point
Copy the full SHA f77b6feView commit details
Commits on Jul 2, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 4030b73 - Browse repository at this point
Copy the full SHA 4030b73View commit details
Commits on Jul 4, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 7a3081b - Browse repository at this point
Copy the full SHA 7a3081bView commit details -
Remove unnecessary release from Arc::try_unwrap
The thread that recovers the unique access to Arc inner value (e.g., drop when ref-count strong reaches zero, successful try_unwrap), ensures that other operations on Arc inner value happened before by synchronizing with release operations performed when decrementing the reference counter. When try_unwrap succeeds, the current thread recovers the unique access to Arc inner value, so release is unnecessary.
Configuration menu - View commit details
-
Copy full SHA for 8900502 - Browse repository at this point
Copy the full SHA 8900502View commit details -
Configuration menu - View commit details
-
Copy full SHA for 20d6941 - Browse repository at this point
Copy the full SHA 20d6941View commit details -
Configuration menu - View commit details
-
Copy full SHA for dbcabc2 - Browse repository at this point
Copy the full SHA dbcabc2View commit details -
Configuration menu - View commit details
-
Copy full SHA for f5305c3 - Browse repository at this point
Copy the full SHA f5305c3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 66fb778 - Browse repository at this point
Copy the full SHA 66fb778View commit details -
Configuration menu - View commit details
-
Copy full SHA for 394b8cd - Browse repository at this point
Copy the full SHA 394b8cdView commit details -
Configuration menu - View commit details
-
Copy full SHA for dcbe85a - Browse repository at this point
Copy the full SHA dcbe85aView commit details -
Configuration menu - View commit details
-
Copy full SHA for b93ecc1 - Browse repository at this point
Copy the full SHA b93ecc1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3cb31b6 - Browse repository at this point
Copy the full SHA 3cb31b6View commit details
Commits on Jul 5, 2020
-
Configuration menu - View commit details
-
Copy full SHA for bc0d619 - Browse repository at this point
Copy the full SHA bc0d619View commit details -
Configuration menu - View commit details
-
Copy full SHA for 016e9f8 - Browse repository at this point
Copy the full SHA 016e9f8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9cb1ffd - Browse repository at this point
Copy the full SHA 9cb1ffdView commit details -
Rollup merge of rust-lang#72688 - djugei:master, r=Amanieu
added .collect() into String from Box<str> I have not created an rfc, because i felt like this is a very minor change. i have just set a random feature name and rust version as stability attribute, i expect to have to change that, i just don't know what the policy on that is. all guides i could find focused on contributing to the compiler, not contributing to the standard library. drawbacks: more code in the standard library, could be replaced with specialization: base-implementation for AsRef\<str> and specialization for String and Cow. i can write that code if ppl want it. advantages: using "real strings" i.e. Box\<str> is as ergonomic as string slices (&str) and string buffers (String) with iterators.
Configuration menu - View commit details
-
Copy full SHA for 5311daa - Browse repository at this point
Copy the full SHA 5311daaView commit details -
Rollup merge of rust-lang#73787 - pickfire:rustc-attrs, r=RalfJung
Add unstable docs for rustc_attrs r? @RalfJung
Configuration menu - View commit details
-
Copy full SHA for e2ae88d - Browse repository at this point
Copy the full SHA e2ae88dView commit details -
Rollup merge of rust-lang#73834 - oli-obk:safe_intrinsics, r=ecstatic…
…-morse Some refactoring around intrinsic type checking So... This PR went a bit overboard. I wanted to make the `rustc_peek` intrinsic safe (cc @ecstatic-morse ), and remembered a long-standing itch of mine. So I made that huge `&str` match for the intrinsic name a match on `Symbol`s (so basically `u32`s). This is unlikely to have a positive perf effect, even if it likely has better codegen (intrinsics are used rarely, mostly once in their wrapper), so it's mostly a consistency thing since other places actually match on the symbol name of the intrinsics.
Configuration menu - View commit details
-
Copy full SHA for fed2013 - Browse repository at this point
Copy the full SHA fed2013View commit details -
Rollup merge of rust-lang#73871 - da-x:private-types-2018-no-extern, …
…r=petrochenkov Fix try_print_visible_def_path for Rust 2018 The recursive check of `try_print_visible_def_path` did not properly handle the Rust 2018 case of crate-paths without 'extern crate'. Instead, it returned a "not found" via (false, self). This fixes rust-lang#56175.
Configuration menu - View commit details
-
Copy full SHA for 3e78eac - Browse repository at this point
Copy the full SHA 3e78eacView commit details -
Rollup merge of rust-lang#73937 - JohnTitor:note-exhaustive-sized-int…
…, r=varkor Explain exhaustive matching on {usize,isize} maximum values The wording is taken from https://github.com/rust-lang/rfcs/blob/master/text/2591-exhaustive-integer-pattern-matching.md#reference-level-explanation. Fixes rust-lang#73919 r? @varkor
Configuration menu - View commit details
-
Copy full SHA for a1ac4d6 - Browse repository at this point
Copy the full SHA a1ac4d6View commit details -
Rollup merge of rust-lang#73973 - Nadrieril:fix-71977, r=matthewjasper
Use `Span`s to identify unreachable subpatterns in or-patterns Fixes rust-lang#71977
Configuration menu - View commit details
-
Copy full SHA for e450646 - Browse repository at this point
Copy the full SHA e450646View commit details -
Rollup merge of rust-lang#74000 - lcnr:lazy_normalisation_consts, r=v…
…arkor add `lazy_normalization_consts` feature gate In rust-lang#71973 I underestimated the amount of code which is influenced by lazy normalization of consts and decided against having a separate feature flag for this. Looking a bit more into this, the following issues are already working with lazy norm in its current state rust-lang#47814 rust-lang#57739 rust-lang#73980 I therefore think it is worth it to enable lazy norm separately. Note that `#![feature(const_generics)]` still automatically activates this feature, so using `#![feature(const_generics, lazy_normalization_consts)]` is redundant. r? @varkor @nikomatsakis
Configuration menu - View commit details
-
Copy full SHA for 0eadeda - Browse repository at this point
Copy the full SHA 0eadedaView commit details -
Rollup merge of rust-lang#74025 - tmiasko:try-unwrap, r=Amanieu
Remove unnecessary release from Arc::try_unwrap The thread that recovers the unique access to Arc inner value (e.g., drop when ref-count strong reaches zero, successful try_unwrap), ensures that other operations on Arc inner value happened before by synchronizing with release operations performed when decrementing the reference counter. When try_unwrap succeeds, the current thread recovers the unique access to Arc inner value, so release is unnecessary. r? @Amanieu
Configuration menu - View commit details
-
Copy full SHA for aef2ca6 - Browse repository at this point
Copy the full SHA aef2ca6View commit details -
Rollup merge of rust-lang#74027 - lcnr:ConstCx-local-def-id, r=varkor
Convert more `DefId`s to `LocalDefId`s
Configuration menu - View commit details
-
Copy full SHA for a1c076f - Browse repository at this point
Copy the full SHA a1c076fView commit details -
Rollup merge of rust-lang#74055 - pickfire:patch-1, r=jonas-schievink
Fix spacing in Iterator fold doc
Configuration menu - View commit details
-
Copy full SHA for 4591b0f - Browse repository at this point
Copy the full SHA 4591b0fView commit details -
Rollup merge of rust-lang#74057 - lcnr:expected_found, r=davidtwco
expected_found `&T` -> `T`
Configuration menu - View commit details
-
Copy full SHA for b4710bd - Browse repository at this point
Copy the full SHA b4710bdView commit details -
Rollup merge of rust-lang#74064 - RalfJung:variant-count-bootstrap, r…
…=kennytm variant_count: avoid incorrect dummy implementation This also avoids a stage 0 doctest failure.
Configuration menu - View commit details
-
Copy full SHA for e624363 - Browse repository at this point
Copy the full SHA e624363View commit details