-
Notifications
You must be signed in to change notification settings - Fork 12.2k
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 10 pull requests #67828
Rollup of 10 pull requests #67828
Commits on Dec 27, 2019
-
Configuration menu - View commit details
-
Copy full SHA for b817a68 - Browse repository at this point
Copy the full SHA b817a68View commit details -
Configuration menu - View commit details
-
Copy full SHA for 98d8326 - Browse repository at this point
Copy the full SHA 98d8326View commit details
Commits on Dec 30, 2019
-
Suggest adding a lifetime constraint when opaque type is responsible …
…for "does not live long enough" error
Configuration menu - View commit details
-
Copy full SHA for d4fbb55 - Browse repository at this point
Copy the full SHA d4fbb55View commit details -
Less-than is asymmetric, not antisymmetric
This has bothered me for a while. It's such a small nit, but...
Configuration menu - View commit details
-
Copy full SHA for d935a26 - Browse repository at this point
Copy the full SHA d935a26View commit details
Commits on Dec 31, 2019
-
Configuration menu - View commit details
-
Copy full SHA for 1a4f6b8 - Browse repository at this point
Copy the full SHA 1a4f6b8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0970f3d - Browse repository at this point
Copy the full SHA 0970f3dView commit details
Commits on Jan 1, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 4f63985 - Browse repository at this point
Copy the full SHA 4f63985View commit details -
Configuration menu - View commit details
-
Copy full SHA for f474c00 - Browse repository at this point
Copy the full SHA f474c00View commit details
Commits on Jan 2, 2020
-
Ensure that we process projections during MIR inlining
Fixes rust-lang#67710 Previously, we were not calling `super_place`, which resulted in us failing to update any local references that occur in ProjectionElem::Index. This caused the post-inlining MIR to contain a reference to a local ID from the inlined callee, leading to an ICE due to a type mismatch.
Configuration menu - View commit details
-
Copy full SHA for e8e53b5 - Browse repository at this point
Copy the full SHA e8e53b5View commit details -
Configuration menu - View commit details
-
Copy full SHA for dd8f072 - Browse repository at this point
Copy the full SHA dd8f072View commit details -
bootstrap: Allow for setting the ThinLTO import limit used for compil…
…er the compiler.
Configuration menu - View commit details
-
Copy full SHA for 1b7c404 - Browse repository at this point
Copy the full SHA 1b7c404View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6f57bad - Browse repository at this point
Copy the full SHA 6f57badView commit details -
Configuration menu - View commit details
-
Copy full SHA for d202b59 - Browse repository at this point
Copy the full SHA d202b59View commit details -
Co-authored-by: Centril <twingoow@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 3182805 - Browse repository at this point
Copy the full SHA 3182805View commit details -
Co-authored-by: Centril <twingoow@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for dc19b48 - Browse repository at this point
Copy the full SHA dc19b48View commit details -
Co-authored-by: Centril <twingoow@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 5cc9f6b - Browse repository at this point
Copy the full SHA 5cc9f6bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8341a9a - Browse repository at this point
Copy the full SHA 8341a9aView commit details
Commits on Jan 3, 2020
-
Minor: change take() docs grammar to match other docs
Eg. mem::replace()
Configuration menu - View commit details
-
Copy full SHA for 4a48818 - Browse repository at this point
Copy the full SHA 4a48818View commit details -
Rollup merge of rust-lang#67450 - michaelwoerister:bootstrap-import-l…
…imit, r=Mark-Simulacrum Allow for setting a ThinLTO import limit during bootstrap The benchmarks in rust-lang#66625 have shown that a lower ThinLTO import limit can be a net win for bootstrap times. This PR: - exposes the setting to `config.toml`, - defaults to a lower limit if `incremental = true` in `config.toml`, and - sets a lower limit for `x86_64-gnu-llvm-7` CI image in order to make the jobs complete more quickly (which remains to be tested). This setting will affect how the compiler and it's tools are compiled. It will not affect the settings the compiler uses when compiling user code. r? @pietroalbini cc @rust-lang/infra
Configuration menu - View commit details
-
Copy full SHA for 7c404ce - Browse repository at this point
Copy the full SHA 7c404ceView commit details -
Rollup merge of rust-lang#67595 - ohadravid:impl-trait-does-not-live-…
…long-enough, r=estebank Suggest adding a lifetime constraint for opaque type Fixes rust-lang#67577, where code like this: ``` struct List { data: Vec<String>, } impl List { fn started_with<'a>(&'a self, prefix: &'a str) -> impl Iterator<Item=&'a str> { self.data.iter().filter(|s| s.starts_with(prefix)).map(|s| s.as_ref()) } } ``` will show this error: ``` Compiling playground v0.0.1 (/playground) error[E0597]: `prefix` does not live long enough --> src/lib.rs:6:47 | 5 | fn started_with<'a>(&'a self, prefix: &'a str) -> impl Iterator<Item=&'a str> { | -- lifetime `'a` defined here --------------------------- opaque type requires that `prefix` is borrowed for `'a` ... ``` but without suggesting the lovely `help: you can add a constraint..`. r? @estebank
Configuration menu - View commit details
-
Copy full SHA for 76c1454 - Browse repository at this point
Copy the full SHA 76c1454View commit details -
Rollup merge of rust-lang#67636 - semarie:bootstrap-rustfmt, r=Mark-S…
…imulacrum allow rustfmt key in [build] section Permit using `rustfmt` in `config.toml`. It will allow to not download `rustfmt` binary, which is not possible for at least some tiers-3 platforms. Fixes: rust-lang#67624 r? @Mark-Simulacrum
Configuration menu - View commit details
-
Copy full SHA for 9dd2c9e - Browse repository at this point
Copy the full SHA 9dd2c9eView commit details -
Rollup merge of rust-lang#67736 - taralx:patch-1, r=sfackler
Less-than is asymmetric, not antisymmetric This has bothered me for a while. It's such a small nit, but...
Configuration menu - View commit details
-
Copy full SHA for ed80f49 - Browse repository at this point
Copy the full SHA ed80f49View commit details -
Rollup merge of rust-lang#67762 - lzutao:systemtime-links, r=joshtrip…
…lett Add missing links for insecure_time
Configuration menu - View commit details
-
Copy full SHA for aefc3cd - Browse repository at this point
Copy the full SHA aefc3cdView commit details -
Rollup merge of rust-lang#67783 - LeSeulArtichaut:pattern-ref-warning…
…, r=Centril Warn for bindings named same as variants when matching against a borrow Fixes rust-lang#67776
Configuration menu - View commit details
-
Copy full SHA for 7affcd5 - Browse repository at this point
Copy the full SHA 7affcd5View commit details -
Rollup merge of rust-lang#67796 - Aaron1011:fix/mir-inline-proj, r=we…
…sleywiser Ensure that we process projections during MIR inlining Fixes rust-lang#67710 Previously, we were not calling `super_place`, which resulted in us failing to update any local references that occur in ProjectionElem::Index. This caused the post-inlining MIR to contain a reference to a local ID from the inlined callee, leading to an ICE due to a type mismatch.
Configuration menu - View commit details
-
Copy full SHA for 09c7a9b - Browse repository at this point
Copy the full SHA 09c7a9bView commit details -
Rollup merge of rust-lang#67807 - lzutao:toilet-closure, r=Centril
Use drop instead of the toilet closure `|_| ()`
Configuration menu - View commit details
-
Copy full SHA for b0649c0 - Browse repository at this point
Copy the full SHA b0649c0View commit details -
Rollup merge of rust-lang#67816 - GuillaumeGomez:clean-up-err-codes, …
…r=Dylan-DPC Clean up err codes r? @Dylan-DPC
Configuration menu - View commit details
-
Copy full SHA for 39a68a1 - Browse repository at this point
Copy the full SHA 39a68a1View commit details -
Rollup merge of rust-lang#67825 - petertodd:2020-mem-take-grammar, r=…
…steveklabnik Minor: change take() docs grammar to match other docs Eg. mem::replace()
Configuration menu - View commit details
-
Copy full SHA for 14c96ce - Browse repository at this point
Copy the full SHA 14c96ceView commit details