-
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 15 pull requests #64159
Rollup of 15 pull requests #64159
Commits on Aug 28, 2019
-
Configuration menu - View commit details
-
Copy full SHA for 820aa5b - Browse repository at this point
Copy the full SHA 820aa5bView commit details
Commits on Aug 29, 2019
-
This returns whether a `Place` references the same region of memory as its base, or equivalently whether it contains a `Deref` projection. This is helpful for analyses that must track state for locals, since an assignment to `x` or `x.field` is fundamentally different than one to `*x`, which may mutate any memory region.
Configuration menu - View commit details
-
Copy full SHA for 8648732 - Browse repository at this point
Copy the full SHA 8648732View commit details
Commits on Aug 30, 2019
-
Rev::rposition counts from the wrong end
Because of a compiler bug that adding `Self: ExactSizeIterator` makes the compiler forget `Self::Item` is `<I as Iterator>::Item`, we remove this specialization for now.
Configuration menu - View commit details
-
Copy full SHA for 0e597d4 - Browse repository at this point
Copy the full SHA 0e597d4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 96ac02b - Browse repository at this point
Copy the full SHA 96ac02bView commit details
Commits on Aug 31, 2019
-
Configuration menu - View commit details
-
Copy full SHA for 5187a3e - Browse repository at this point
Copy the full SHA 5187a3eView commit details -
Slightly clean up the error for recursive
async fn
* Make it clear that type erasure is required, not just pointer indirection. * Don't make the message specific to direct recursion.
Configuration menu - View commit details
-
Copy full SHA for 7bb2d8b - Browse repository at this point
Copy the full SHA 7bb2d8bView commit details -
Check impl trait substs when checking for recursive types
This prevents mutual `async fn` recursion
Configuration menu - View commit details
-
Copy full SHA for 877faf3 - Browse repository at this point
Copy the full SHA 877faf3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 754a875 - Browse repository at this point
Copy the full SHA 754a875View commit details
Commits on Sep 2, 2019
-
Configuration menu - View commit details
-
Copy full SHA for b0bb301 - Browse repository at this point
Copy the full SHA b0bb301View commit details
Commits on Sep 3, 2019
-
Configuration menu - View commit details
-
Copy full SHA for 3ea932a - Browse repository at this point
Copy the full SHA 3ea932aView commit details -
Configuration menu - View commit details
-
Copy full SHA for c1e5e5c - Browse repository at this point
Copy the full SHA c1e5e5cView commit details -
Configuration menu - View commit details
-
Copy full SHA for bb99fc3 - Browse repository at this point
Copy the full SHA bb99fc3View commit details -
Configuration menu - View commit details
-
Copy full SHA for efe8594 - Browse repository at this point
Copy the full SHA efe8594View commit details -
It's a hot enough path that moving it slightly earlier gives a tiny but easy speedup.
Configuration menu - View commit details
-
Copy full SHA for 8c74eb7 - Browse repository at this point
Copy the full SHA 8c74eb7View commit details -
Added warning around code with reference to uninit bytes
Daniel Henry-Mantilla committedSep 3, 2019 Configuration menu - View commit details
-
Copy full SHA for 23c76ff - Browse repository at this point
Copy the full SHA 23c76ffView commit details -
Configuration menu - View commit details
-
Copy full SHA for e85b181 - Browse repository at this point
Copy the full SHA e85b181View commit details -
Changed comment to better reflect std's exceptional situation
Daniel Henry-Mantilla committedSep 3, 2019 Configuration menu - View commit details
-
Copy full SHA for b03d3dc - Browse repository at this point
Copy the full SHA b03d3dcView commit details -
Configuration menu - View commit details
-
Copy full SHA for 28b5184 - Browse repository at this point
Copy the full SHA 28b5184View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4a79633 - Browse repository at this point
Copy the full SHA 4a79633View commit details -
Configuration menu - View commit details
-
Copy full SHA for e16ce80 - Browse repository at this point
Copy the full SHA e16ce80View commit details
Commits on Sep 4, 2019
-
Fix doc links in
std::cmp
moduleThese links are rendered in `core::cmp` but not in `std::cmp`.
Configuration menu - View commit details
-
Copy full SHA for b6f9523 - Browse repository at this point
Copy the full SHA b6f9523View commit details -
Guanqun Lu committed
Sep 4, 2019 Configuration menu - View commit details
-
Copy full SHA for 8e06724 - Browse repository at this point
Copy the full SHA 8e06724View commit details -
Configuration menu - View commit details
-
Copy full SHA for 843fba3 - Browse repository at this point
Copy the full SHA 843fba3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5545582 - Browse repository at this point
Copy the full SHA 5545582View commit details -
Configuration menu - View commit details
-
Copy full SHA for fe2c6b1 - Browse repository at this point
Copy the full SHA fe2c6b1View commit details
Commits on Sep 5, 2019
-
Rollup merge of rust-lang#62860 - vi:stabilize_checked_duration_since…
…, r=Mark-Simulacrum Stabilize checked_duration_since for 1.38.0 Looks like it has already found some use in projects. Resolves rust-lang#58402.
Configuration menu - View commit details
-
Copy full SHA for f062076 - Browse repository at this point
Copy the full SHA f062076View commit details -
Rollup merge of rust-lang#63549 - sfanxiang:rev-rposition, r=scottmcm
Rev::rposition counts from the wrong end Introduced in rust-lang#43074. cc @SimonSapin
Configuration menu - View commit details
-
Copy full SHA for 9ac90fa - Browse repository at this point
Copy the full SHA 9ac90faView commit details -
Rollup merge of rust-lang#63985 - ghedo:stabilize_pin_into_inner, r=a…
…lexcrichton Stabilize pin_into_inner in 1.39.0 FCP: rust-lang#60245 (comment) Closes rust-lang#60245
Configuration menu - View commit details
-
Copy full SHA for a721221 - Browse repository at this point
Copy the full SHA a721221View commit details -
Rollup merge of rust-lang#64005 - ecstatic-morse:is-indirect, r=oli-obk
Add a `Place::is_indirect` method to determine whether a `Place` contains a `Deref` projection Working on rust-lang#63860 requires tracking some property about each local. This requires differentiating `Place`s like `x` and `x.field[index]` from ones like `*x` and `*x.field`, since the first two will always access the same region of memory as `x` while the latter two may access any region of memory. This functionality is duplicated in various places across the compiler. This PR adds a helper method to `Place` which determines whether that `Place` has a `Deref` projection at any point and changes some existing code to use the new method. I've not converted `qualify_consts.rs` to use the new method, since it's not a trivial conversion and it will get replaced anyway by rust-lang#63860. There may be other potential uses besides the two I change in this PR. r? @oli-obk
Configuration menu - View commit details
-
Copy full SHA for 77a033a - Browse repository at this point
Copy the full SHA 77a033aView commit details -
Rollup merge of rust-lang#64031 - Centril:param-attrs-no-macros-test,…
… r=nikomatsakis Harden `param_attrs` test wrt. usage of a proc macro `#[attr]` The `param-attrs-builtin-attrs.rs` test file uses the `#[test]` attribute which should cover this but `#[test]` isn't a proc macro attribute so we add another test to be on the safe side. This intends to address rust-lang#64010 (comment). r? @nikomatsakis cc @c410-f3r @petrochenkov cc rust-lang#60406
Configuration menu - View commit details
-
Copy full SHA for 5a94d57 - Browse repository at this point
Copy the full SHA 5a94d57View commit details -
Rollup merge of rust-lang#64038 - matthewjasper:deny-mutual-impl-trai…
…t-recursion, r=varkor Check impl trait substs when checking for recursive types closes rust-lang#64004
Configuration menu - View commit details
-
Copy full SHA for 737efa6 - Browse repository at this point
Copy the full SHA 737efa6View commit details -
Rollup merge of rust-lang#64043 - matthewjasper:underscore-import-tes…
…ts, r=alexcrichton Add some more tests for underscore imports
Configuration menu - View commit details
-
Copy full SHA for f5af471 - Browse repository at this point
Copy the full SHA f5af471View commit details -
Rollup merge of rust-lang#64092 - michaelwoerister:update-xlto-table-…
…rustc-book-1.37, r=alexcrichton Update xLTO compatibility table in rustc book. This is a combination known to work reliable when building Firefox on all the major platforms. r? @alexcrichton
Configuration menu - View commit details
-
Copy full SHA for a537aa1 - Browse repository at this point
Copy the full SHA a537aa1View commit details -
Rollup merge of rust-lang#64110 - estebank:receiver-type, r=Centril
Refer to "`self` type" instead of "receiver type" Fix rust-lang#42603.
Configuration menu - View commit details
-
Copy full SHA for f8cdf38 - Browse repository at this point
Copy the full SHA f8cdf38View commit details -
Rollup merge of rust-lang#64120 - nnethercote:move-path-parsing-earli…
…er, r=petrochenkov Move path parsing earlier It's a hot enough path that moving it slightly earlier gives a tiny but easy speedup. r? @petrochenkov
Configuration menu - View commit details
-
Copy full SHA for 39d91e5 - Browse repository at this point
Copy the full SHA 39d91e5View commit details -
Rollup merge of rust-lang#64123 - danielhenrymantilla:add_comment_abo…
…ut_uninit_integers, r=Centril Added warning around code with reference to uninit bytes Officially, uninitialized integers, and therefore, Rust references to them are _invalid_ (note that this may evolve into official defined behavior (_c.f._, rust-lang/unsafe-code-guidelines#71)). However, `::std` uses references to uninitialized integers when working with the `Read::initializer` feature (rust-lang#42788), since it relies on this unstably having defined behavior with the current implementation of the compiler (IIUC). Hence the comment to disincentivize people from using this pattern outside the standard library.
Configuration menu - View commit details
-
Copy full SHA for b0f1a78 - Browse repository at this point
Copy the full SHA b0f1a78View commit details -
Rollup merge of rust-lang#64128 - Centril:unused-parens-pat, r=davidtwco
unused_parens: account for or-patterns and `&(mut x)` Fixes rust-lang#55342. Fixes rust-lang#64106. cc rust-lang#54883 cc rust-lang#64111 r? @oli-obk
Configuration menu - View commit details
-
Copy full SHA for 74ffc43 - Browse repository at this point
Copy the full SHA 74ffc43View commit details -
Rollup merge of rust-lang#64142 - lzutao:fix-doc-cmp, r=jonas-schievink
Fix doc links in `std::cmp` module r? @jonas-schievink
Configuration menu - View commit details
-
Copy full SHA for ee90e61 - Browse repository at this point
Copy the full SHA ee90e61View commit details -
Rollup merge of rust-lang#64148 - guanqun:typo-fix, r=zackmdavis
fix a few typos in comments
Configuration menu - View commit details
-
Copy full SHA for cecca35 - Browse repository at this point
Copy the full SHA cecca35View commit details -
Rollup merge of rust-lang#64157 - gilescope:opaque-type-location, r=c…
…ramertj Opaque type locations in error message for clarity. Attempts to fix rust-lang#63167
Configuration menu - View commit details
-
Copy full SHA for 00c3f67 - Browse repository at this point
Copy the full SHA 00c3f67View commit details