-
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 6 pull requests #61852
Rollup of 6 pull requests #61852
Commits on Jun 13, 2019
-
typeck: Fix ICE for blocks in repeat expr count.
This commit extends the work in rust-lang#61698 to get the `DefId` of const parameters from block that resolve to a const parameter (as well as const parameters directly, as it was previously).
Configuration menu - View commit details
-
Copy full SHA for bc36aab - Browse repository at this point
Copy the full SHA bc36aabView commit details -
Configuration menu - View commit details
-
Copy full SHA for bdb05a8 - Browse repository at this point
Copy the full SHA bdb05a8View commit details
Commits on Jun 14, 2019
-
Configuration menu - View commit details
-
Copy full SHA for 8ce063a - Browse repository at this point
Copy the full SHA 8ce063aView commit details -
Configuration menu - View commit details
-
Copy full SHA for d302413 - Browse repository at this point
Copy the full SHA d302413View commit details -
Configuration menu - View commit details
-
Copy full SHA for 065151f - Browse repository at this point
Copy the full SHA 065151fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 00bae87 - Browse repository at this point
Copy the full SHA 00bae87View commit details -
Configuration menu - View commit details
-
Copy full SHA for 363940b - Browse repository at this point
Copy the full SHA 363940bView commit details -
Configuration menu - View commit details
-
Copy full SHA for ae8d6a8 - Browse repository at this point
Copy the full SHA ae8d6a8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4e212c6 - Browse repository at this point
Copy the full SHA 4e212c6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5c84cd3 - Browse repository at this point
Copy the full SHA 5c84cd3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 34c4117 - Browse repository at this point
Copy the full SHA 34c4117View commit details -
Rollup merge of rust-lang#61143 - estebank:issue-61106, r=eddyb
When suggesting borrow, remove useless clones Fix rust-lang#61106.
Configuration menu - View commit details
-
Copy full SHA for 58a6259 - Browse repository at this point
Copy the full SHA 58a6259View commit details -
Rollup merge of rust-lang#61785 - RalfJung:as-ref, r=rkruppe
note some safety concerns of raw-ptr-to-ref casts
Configuration menu - View commit details
-
Copy full SHA for 75d136e - Browse repository at this point
Copy the full SHA 75d136eView commit details -
Rollup merge of rust-lang#61805 - davidtwco:ice-const-generic-repeat-…
…expr-count-sequel, r=varkor typeck: Fix ICE for blocks in repeat expr count. Fixes rust-lang#61336 (again). This PR fixes an ICE that occured when a block expression resolving to a const generic was used for the count of an array repeat expression. r? @varkor
Configuration menu - View commit details
-
Copy full SHA for 2396a15 - Browse repository at this point
Copy the full SHA 2396a15View commit details -
Rollup merge of rust-lang#61813 - matthewjasper:remove-unnecessary-sy…
…mbol-ops, r=petrochenkov Remove some unnecessary symbol interner ops * Don't gensym symbols that don't need to worry about colliding with other symbols * Use symbol constants instead of interning string literals in a few places. * Don't generate a module in `__register_diagnostic` r? @petrochenkov
Configuration menu - View commit details
-
Copy full SHA for 57822f9 - Browse repository at this point
Copy the full SHA 57822f9View commit details -
Rollup merge of rust-lang#61825 - Centril:tauv-infer-fix, r=petrochenkov
type_alias_enum_variants: fix rust-lang#61801; allow a path pattern to infer Fix rust-lang#61801. Given a type-relative path pattern referring to an enum variant through a type alias, allow inferring the generic argument applied in the expectation set by the scrutinee of a `match` expression. Similar issues may exist for `let` statements but I don't know how to test for that since `PhantomData<T>` is necessary...) The gist of the problem here was that `resolve_ty_and_res_ufcs` was called twice which is apparently no good... It is possible that this PR is papering over some deeper problem, but that is beyond my knowledge of the compiler. r? @petrochenkov cc @eddyb @alexreg cc rust-lang#61682 cc rust-lang#49683
Configuration menu - View commit details
-
Copy full SHA for 140fa2f - Browse repository at this point
Copy the full SHA 140fa2fView commit details -
Rollup merge of rust-lang#61844 - AaronKutch:master, r=Centril
Change `...` to `..=` where applicable This is mainly to fix rust-lang#61816, but I decided to manually check a few thousand `...` throughout the code base to check for any other cases. I think I found a documentation bug in `src\libsyntax\ast.rs` where both `1..` and `1...` where mentioned. If there is internal support for both `1..` and `1..=` (that can exist before error handling gets to it), then I can add that back. There were some other cases that look like `// struct Closure<'l0...'li, T0...Tj, CK, CS, U0...Uk> {`, `// <P0 as Trait<P1...Pn>>::Foo: 'a`, and `assert!(min <= max, "discriminant range is {}...{}", min, max);`, but I am not sure if I should change those. There are a bunch of cases in the `/test/` directory that could be changed, but I presume I should just leave those be.
Configuration menu - View commit details
-
Copy full SHA for 4b528fe - Browse repository at this point
Copy the full SHA 4b528feView commit details