-
Notifications
You must be signed in to change notification settings - Fork 12.5k
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 5 pull requests #61915
Rollup of 5 pull requests #61915
Commits on Jun 9, 2019
-
Configuration menu - View commit details
-
Copy full SHA for 2e9931f - Browse repository at this point
Copy the full SHA 2e9931fView commit details
Commits on Jun 16, 2019
-
Configuration menu - View commit details
-
Copy full SHA for af0e35e - Browse repository at this point
Copy the full SHA af0e35eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 387ac06 - Browse repository at this point
Copy the full SHA 387ac06View commit details
Commits on Jun 17, 2019
-
This is an extremely marginal error, so the cost of properly threading `Handler` everywhere just not seemed justified. However, it's useful to panic when we create a file, and not when we slice strings with overflown indexes somewhere in the guts of the compiler. For this reason, while we provide safe `try_new_source_file`, we don't change the existing public interface and just panic more or less cleanly.
Configuration menu - View commit details
-
Copy full SHA for ccb2dfb - Browse repository at this point
Copy the full SHA ccb2dfbView commit details -
Configuration menu - View commit details
-
Copy full SHA for 61964d9 - Browse repository at this point
Copy the full SHA 61964d9View commit details -
Configuration menu - View commit details
-
Copy full SHA for d996c4d - Browse repository at this point
Copy the full SHA d996c4dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1c8551b - Browse repository at this point
Copy the full SHA 1c8551bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 21fbb59 - Browse repository at this point
Copy the full SHA 21fbb59View commit details -
Configuration menu - View commit details
-
Copy full SHA for 88961b0 - Browse repository at this point
Copy the full SHA 88961b0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 72bb5c7 - Browse repository at this point
Copy the full SHA 72bb5c7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 61e004d - Browse repository at this point
Copy the full SHA 61e004dView commit details -
Configuration menu - View commit details
-
Copy full SHA for e1bf56d - Browse repository at this point
Copy the full SHA e1bf56dView commit details -
Rollup merge of rust-lang#61702 - RalfJung:const-enum-cast, r=oli-obk
test more variants of enum-int-casting As I learned in rust-lang#61673 (comment), there is a code path we are not testing yet. Looks like enum-int-casting with and without an intermediate let-binding is totally different. EDIT: The reason for this is to get rid of the cycle in definitions such as: ```rust enum Foo { A = 0, B = Foo::A as isize + 2, } ``` This has historically been supported, so a hack adding special treatment to `Enum::Variant as _` was added to keep supporting it.
Configuration menu - View commit details
-
Copy full SHA for a2259aa - Browse repository at this point
Copy the full SHA a2259aaView commit details -
Rollup merge of rust-lang#61836 - ljedrz:i_still_hate_node_ids, r=ljedrz
Replace some uses of NodeId with HirId We are still using `NodeId` in some spots where we could use `HirId` instead; this PR targets some of these spots and removes some of the associated `hir::map` functions.
Configuration menu - View commit details
-
Copy full SHA for 0800b6e - Browse repository at this point
Copy the full SHA 0800b6eView commit details -
Rollup merge of rust-lang#61885 - scottmcm:slice-iter-len-opt, r=rkru…
…ppe,RalfJung Help LLVM better optimize slice::Iter(Mut)::len r? @RalfJung I've included a codegen test that fails without this change as a demonstration of usefulness.
Configuration menu - View commit details
-
Copy full SHA for 2d3d0b7 - Browse repository at this point
Copy the full SHA 2d3d0b7View commit details -
Rollup merge of rust-lang#61893 - chpio:weak_ptr_eq_methods, r=rkruppe
make `Weak::ptr_eq`s into methods This makes the `Weak::ptr_eq`s associated function into methods. There's no reason for methods on `Weak`s to be associated functions, as there is no `Dered` thus no possibility of a collision. Also: methods can be called using the associated function syntax. follow up on rust-lang#55987 [Tracking issue for weak_ptr_eq](rust-lang#55981)
Configuration menu - View commit details
-
Copy full SHA for 04d6539 - Browse repository at this point
Copy the full SHA 04d6539View commit details -
Rollup merge of rust-lang#61908 - matklad:overflow, r=petrochenkov
don't ICE on large files This is an extremely marginal error, so the cost of properly threading `Handler` everywhere just not seemed justified. However, it's useful to panic when we create a file, and not when we slice strings with overflown indexes somewhere in the guts of the compiler. For this reason, while we provide safe `try_new_source_file`, we don't change the existing public interface and just panic more or less cleanly. closes rust-lang#61904 r? @petrochenkov
Configuration menu - View commit details
-
Copy full SHA for 6fe2653 - Browse repository at this point
Copy the full SHA 6fe2653View commit details