-
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 6 pull requests #69759
Rollup of 6 pull requests #69759
Commits on Mar 3, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 7859f0e - Browse repository at this point
Copy the full SHA 7859f0eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 812e62f - Browse repository at this point
Copy the full SHA 812e62fView commit details -
Configuration menu - View commit details
-
Copy full SHA for d3e5177 - Browse repository at this point
Copy the full SHA d3e5177View commit details -
Configuration menu - View commit details
-
Copy full SHA for 98c7ed6 - Browse repository at this point
Copy the full SHA 98c7ed6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3aeb9f0 - Browse repository at this point
Copy the full SHA 3aeb9f0View commit details -
Use correct place for
enum_place
PR rust-lang#69562, which fixed a bug that was causing clippy to ICE, passed the place for the *result* of `Rvalue::Discriminant` instead of the *operand* to `apply_discriminant_switch_effect`. As a result, no effect was applied at all, and we lost the perf benefits from marking inactive enum variants as uninitialized.
Configuration menu - View commit details
-
Copy full SHA for e82ec23 - Browse repository at this point
Copy the full SHA e82ec23View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1a1dcfa - Browse repository at this point
Copy the full SHA 1a1dcfaView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2af5e87 - Browse repository at this point
Copy the full SHA 2af5e87View commit details -
Configuration menu - View commit details
-
Copy full SHA for a20d54f - Browse repository at this point
Copy the full SHA a20d54fView commit details
Commits on Mar 4, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 842af36 - Browse repository at this point
Copy the full SHA 842af36View commit details -
Configuration menu - View commit details
-
Copy full SHA for f54e863 - Browse repository at this point
Copy the full SHA f54e863View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6200f5c - Browse repository at this point
Copy the full SHA 6200f5cView commit details -
Configuration menu - View commit details
-
Copy full SHA for e32ee55 - Browse repository at this point
Copy the full SHA e32ee55View commit details -
Configuration menu - View commit details
-
Copy full SHA for 634a167 - Browse repository at this point
Copy the full SHA 634a167View commit details -
Use subslice patterns in slice methods
For all of the methods that pick off the first or last element, we can use subslice patterns to implement them directly, rather than relying on deeper indexing function calls. At a minimum, this means the generated code will rely less on inlining for performance, but in some cases it also optimizes better.
Configuration menu - View commit details
-
Copy full SHA for 53be0cc - Browse repository at this point
Copy the full SHA 53be0ccView commit details -
Configuration menu - View commit details
-
Copy full SHA for c6f1244 - Browse repository at this point
Copy the full SHA c6f1244View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6f23650 - Browse repository at this point
Copy the full SHA 6f23650View commit details -
Configuration menu - View commit details
-
Copy full SHA for eb67eca - Browse repository at this point
Copy the full SHA eb67ecaView commit details -
Configuration menu - View commit details
-
Copy full SHA for a30f55f - Browse repository at this point
Copy the full SHA a30f55fView commit details -
Configuration menu - View commit details
-
Copy full SHA for bd4dad4 - Browse repository at this point
Copy the full SHA bd4dad4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 46d85e5 - Browse repository at this point
Copy the full SHA 46d85e5View commit details -
Configuration menu - View commit details
-
Copy full SHA for a32afa3 - Browse repository at this point
Copy the full SHA a32afa3View commit details -
Configuration menu - View commit details
-
Copy full SHA for a5d1e18 - Browse repository at this point
Copy the full SHA a5d1e18View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2cb2559 - Browse repository at this point
Copy the full SHA 2cb2559View commit details -
Configuration menu - View commit details
-
Copy full SHA for b11cd0b - Browse repository at this point
Copy the full SHA b11cd0bView commit details
Commits on Mar 5, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 8efb9eb - Browse repository at this point
Copy the full SHA 8efb9ebView commit details
Commits on Mar 6, 2020
-
Rollup merge of rust-lang#69656 - matthiaskrgr:iter_nth_zero, r=oli-obk
Use .next() instead of .nth(0) on iterators.
Configuration menu - View commit details
-
Copy full SHA for f64c639 - Browse repository at this point
Copy the full SHA f64c639View commit details -
Rollup merge of rust-lang#69674 - mark-i-m:assoc-fn, r=Centril
Rename DefKind::Method and TraitItemKind::Method r? @eddyb, @Centril, or @matthewjasper cc rust-lang#69498 rust-lang#60163
Configuration menu - View commit details
-
Copy full SHA for 19272a0 - Browse repository at this point
Copy the full SHA 19272a0View commit details -
Rollup merge of rust-lang#69676 - ecstatic-morse:fix-enum-discr-effec…
…t, r=oli-obk Pass correct place to `discriminant_switch_effect` PR rust-lang#69562, which fixed a bug that was causing clippy to ICE, mistakenly passed the place holding the *result* of `Rvalue::Discriminant` instead of the place holding its *operand* to `apply_discriminant_switch_effect` as the enum place. As a result, no effect was applied at all, and we lost the perf benefits from marking inactive enum variants as uninitialized. **edit:** The regression test has been split into rust-lang#69744. r? @oli-obk
Configuration menu - View commit details
-
Copy full SHA for 9fd88a9 - Browse repository at this point
Copy the full SHA 9fd88a9View commit details -
Rollup merge of rust-lang#69706 - cuviper:subslice-methods, r=Centril
Use subslice patterns in slice methods For all of the methods that pick off the first or last element, we can use subslice patterns to implement them directly, rather than relying on deeper indexing function calls. At a minimum, this means the generated code will rely less on inlining for performance, but in some cases it also optimizes better.
Configuration menu - View commit details
-
Copy full SHA for cc35ba6 - Browse repository at this point
Copy the full SHA cc35ba6View commit details -
Rollup merge of rust-lang#69714 - spastorino:place-ref-lifetime, r=ol…
…i-obk Make PlaceRef take just one lifetime r? @eddyb
Configuration menu - View commit details
-
Copy full SHA for b059d02 - Browse repository at this point
Copy the full SHA b059d02View commit details -
Rollup merge of rust-lang#69727 - JohnTitor:sugg-unwrap, r=estebank
Avoid using `unwrap()` in suggestions Addresses rust-lang#69725, still need a regression test. r? @estebank
Configuration menu - View commit details
-
Copy full SHA for 7f53c32 - Browse repository at this point
Copy the full SHA 7f53c32View commit details