-
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 11 pull requests #70343
Rollup of 11 pull requests #70343
Commits on Mar 17, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 5b66f27 - Browse repository at this point
Copy the full SHA 5b66f27View commit details -
Configuration menu - View commit details
-
Copy full SHA for e15c486 - Browse repository at this point
Copy the full SHA e15c486View commit details
Commits on Mar 18, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 044dc6e - Browse repository at this point
Copy the full SHA 044dc6eView commit details
Commits on Mar 21, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 2daaf2b - Browse repository at this point
Copy the full SHA 2daaf2bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 99ae428 - Browse repository at this point
Copy the full SHA 99ae428View commit details
Commits on Mar 22, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 1661a0a - Browse repository at this point
Copy the full SHA 1661a0aView commit details -
Configuration menu - View commit details
-
Copy full SHA for cdb2c3c - Browse repository at this point
Copy the full SHA cdb2c3cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1e5d81d - Browse repository at this point
Copy the full SHA 1e5d81dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 82f4a1a - Browse repository at this point
Copy the full SHA 82f4a1aView commit details -
Configuration menu - View commit details
-
Copy full SHA for d40dff9 - Browse repository at this point
Copy the full SHA d40dff9View commit details -
Configuration menu - View commit details
-
Copy full SHA for b5636b8 - Browse repository at this point
Copy the full SHA b5636b8View commit details -
Add regression test for rust-lang#70155.
With rust-lang#70166 merged, `RangeInclusive` now derives `PartialEq` and `Eq`, implementing structural equality and as a side effect the range is now usable with const generics, closing rust-lang#70155. A test is added to avoid a change to the private fields or the equality implementation of the range from subtly reverting rust-lang#70155.
CDirkx committedMar 22, 2020 Configuration menu - View commit details
-
Copy full SHA for bd1df44 - Browse repository at this point
Copy the full SHA bd1df44View commit details -
Configuration menu - View commit details
-
Copy full SHA for cda81da - Browse repository at this point
Copy the full SHA cda81daView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5e8b795 - Browse repository at this point
Copy the full SHA 5e8b795View commit details
Commits on Mar 23, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 410385d - Browse repository at this point
Copy the full SHA 410385dView commit details -
Configuration menu - View commit details
-
Copy full SHA for e619b85 - Browse repository at this point
Copy the full SHA e619b85View commit details -
Configuration menu - View commit details
-
Copy full SHA for 19e6935 - Browse repository at this point
Copy the full SHA 19e6935View commit details -
Configuration menu - View commit details
-
Copy full SHA for 799b15e - Browse repository at this point
Copy the full SHA 799b15eView commit details -
Configuration menu - View commit details
-
Copy full SHA for fa5a15c - Browse repository at this point
Copy the full SHA fa5a15cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3f89c38 - Browse repository at this point
Copy the full SHA 3f89c38View commit details -
Configuration menu - View commit details
-
Copy full SHA for 770be24 - Browse repository at this point
Copy the full SHA 770be24View commit details -
Configuration menu - View commit details
-
Copy full SHA for c3b9881 - Browse repository at this point
Copy the full SHA c3b9881View commit details -
Add const generics test for all range types.
In addition to the regression test of `RangeInclusive` for rust-lang#70155, now all range types are checked for usability within const generics: - `RangeFrom` - `RangeFull` - `RangeToInclusive` - `RangeTo` - `Range` The test are moved from `test\ui\const-generics\issues\issue-70155` to `test\ui\const-generics\std\range` in anticipation of future similar tests for std types.
CDirkx committedMar 23, 2020 Configuration menu - View commit details
-
Copy full SHA for f080f94 - Browse repository at this point
Copy the full SHA f080f94View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9bcd9fe - Browse repository at this point
Copy the full SHA 9bcd9feView commit details -
Configuration menu - View commit details
-
Copy full SHA for 9fdde0a - Browse repository at this point
Copy the full SHA 9fdde0aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 124ab20 - Browse repository at this point
Copy the full SHA 124ab20View commit details -
Configuration menu - View commit details
-
Copy full SHA for e75158d - Browse repository at this point
Copy the full SHA e75158dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5aa15bf - Browse repository at this point
Copy the full SHA 5aa15bfView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4f513b5 - Browse repository at this point
Copy the full SHA 4f513b5View commit details -
Configuration menu - View commit details
-
Copy full SHA for a7e2641 - Browse repository at this point
Copy the full SHA a7e2641View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6624dc4 - Browse repository at this point
Copy the full SHA 6624dc4View commit details -
Configuration menu - View commit details
-
Copy full SHA for db7bd5f - Browse repository at this point
Copy the full SHA db7bd5fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2326ae3 - Browse repository at this point
Copy the full SHA 2326ae3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3a8bb20 - Browse repository at this point
Copy the full SHA 3a8bb20View commit details -
Configuration menu - View commit details
-
Copy full SHA for d08cc0b - Browse repository at this point
Copy the full SHA d08cc0bView commit details -
Configuration menu - View commit details
-
Copy full SHA for e0f7b89 - Browse repository at this point
Copy the full SHA e0f7b89View commit details -
Fully qualify the path to DepKind.
This is needed since `middle::cstore` defines another type named `DepKind`, and we should not rely on shadowing to get the right one.
Configuration menu - View commit details
-
Copy full SHA for 9f4c888 - Browse repository at this point
Copy the full SHA 9f4c888View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0f918cb - Browse repository at this point
Copy the full SHA 0f918cbView commit details -
Configuration menu - View commit details
-
Copy full SHA for 9b1893f - Browse repository at this point
Copy the full SHA 9b1893fView commit details -
Rollup merge of rust-lang#67761 - cjgillot:split_graph, r=Zoxc
Move the dep_graph construction to a dedicated crate. The interface for librustc consists in two traits: `DepKind` and `DepContext`. The `DepKind` is the main interface. It allows to probe properties of the dependency. As before, `DepNode` is the pair of a `DepKind` object and a hash fingerprint. The `DepContext` takes the place of the `TyCtxt`, and handles communication with the query engine. The use of the `ImplicitCtxt` through `ty::tls` is done through the `DepKind` trait. This may not be the best choice, but it seemed like the simplest.
Configuration menu - View commit details
-
Copy full SHA for 9da25d9 - Browse repository at this point
Copy the full SHA 9da25d9View commit details -
Rollup merge of rust-lang#69740 - mark-i-m:describe-it-3, r=eddyb
Replace some desc logic in librustc_lint with article_and_desc r? @eddyb @Centril @matthewjasper Followup to rust-lang#69674 Blocked on rust-lang#69498
Configuration menu - View commit details
-
Copy full SHA for ee90948 - Browse repository at this point
Copy the full SHA ee90948View commit details -
Rollup merge of rust-lang#69981 - oli-obk:const_blocks, r=eddyb
Evaluate repeat expression lengths as late as possible Fixes rust-lang#68567 r? @varkor
Configuration menu - View commit details
-
Copy full SHA for a73ed5a - Browse repository at this point
Copy the full SHA a73ed5aView commit details -
Rollup merge of rust-lang#70087 - ecstatic-morse:remove-const-eval-lo…
…op-detector, r=RalfJung Remove const eval loop detector Now that there is a configurable instruction limit for CTFE (see rust-lang#67260), we can replace the loop detector with something much simpler. See rust-lang#66946 for more discussion about this. Although the instruction limit is nightly-only, the only practical way to reach the default limit uses nightly-only features as well (although CTFE will still execute code using such features inside an array initializer on stable). This will at the very least require a crater run, since it will result in an error wherever the "long running const eval" warning appeared before. We may need to increase the default for `const_eval_limit` to work around this. Resolves rust-lang#54384 cc rust-lang#49980 r? @oli-obk cc @RalfJung
Configuration menu - View commit details
-
Copy full SHA for 72c99f2 - Browse repository at this point
Copy the full SHA 72c99f2View commit details -
Rollup merge of rust-lang#70242 - DeeDeeG:improve-e0308, r=Dylan-DPC
Improve E0308 error message wording Hi folks, I made [a post on Reddit](https://old.reddit.com/r/rust/comments/fmi11x/consider_linting_rusts_documentationerror_text/) about how (IMO) the docs/error messages can be a bit intimidating, one thing led to another, and I was encouraged to submit a Pull Request if I felt I could re-phrase the error message that I used as an example. So that's this Pull Request. Open to any feedback or style changes, and I understand this is subjective. (On another note: I am happy to see [this message was recently improved](rust-lang#69139) in `master`, so it's already better than it is in stable Rust 1.42.0.) Ideally the last sentence could be split into at least two: [sentence explaining the inferred type.] [Sentence explaining explicit type.] [Sentence that summarizes that "this is bad," and why.] But I'm not sure how to do so; I'm wary of writing something that turns out to be technically incorrect.
Configuration menu - View commit details
-
Copy full SHA for 7a47df8 - Browse repository at this point
Copy the full SHA 7a47df8View commit details -
Rollup merge of rust-lang#70264 - tirr-c:issue-69789-mut-suggestion, …
…r=estebank Fix invalid suggestion on `&mut` iterators yielding `&` references Fixes rust-lang#69789. rustc suggested an invalid code when `&` reference from `&mut` iterator is mutated. The compiler knew we're mutating a value behind `&` reference, but as the assignment RHS is from desugaring, it could only see the iterator expression from source and inserted `mut` there. r? @estebank
Configuration menu - View commit details
-
Copy full SHA for ab2817b - Browse repository at this point
Copy the full SHA ab2817bView commit details -
Rollup merge of rust-lang#70267 - RalfJung:const-prop-unsup, r=oli-ob…
…k,wesleywiser get rid of ConstPropUnsupported; use ZST marker structs instead This gets rid of yet another machine-specific error variant. r? @oli-obk
Configuration menu - View commit details
-
Copy full SHA for 3184506 - Browse repository at this point
Copy the full SHA 3184506View commit details -
Rollup merge of rust-lang#70277 - matthewjasper:remove-closurebound, …
…r=nikomatsakis Remove `ReClosureBound` We now substitute external names for regions in the query response. r? @nikomatsakis
Configuration menu - View commit details
-
Copy full SHA for 6c58e01 - Browse repository at this point
Copy the full SHA 6c58e01View commit details -
Rollup merge of rust-lang#70283 - CDirkx:regression-test-70155, r=oli…
…-obk Add regression test for rust-lang#70155. With rust-lang#70166 merged, `RangeInclusive` now derives `PartialEq` and `Eq`, implementing structural equality and as a side effect the range is now usable with const generics, closing rust-lang#70155. As per [rust-lang#70166 (comment)](rust-lang#70166 (comment)) a test is added to avoid a change to the private fields or the equality implementation of the range from subtly reverting rust-lang#70155.
Configuration menu - View commit details
-
Copy full SHA for 7cdab7f - Browse repository at this point
Copy the full SHA 7cdab7fView commit details -
Rollup merge of rust-lang#70294 - estebank:bad-placeholder-in-where, …
…r=Centril Account for bad placeholder types in where clauses Fix rust-lang#70291. Follow up to rust-lang#69148.
Configuration menu - View commit details
-
Copy full SHA for 54db0cf - Browse repository at this point
Copy the full SHA 54db0cfView commit details -
Rollup merge of rust-lang#70309 - GuillaumeGomez:cleanup-e0452, r=Dyl…
…an-DPC Clean up E0452 explanation r? @Dylan-DPC
Configuration menu - View commit details
-
Copy full SHA for 3b8872d - Browse repository at this point
Copy the full SHA 3b8872dView commit details