-
Notifications
You must be signed in to change notification settings - Fork 13k
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
Fix extended bootstrap issues with OpenSSL on NetBSD build hosts #44320
Fix extended bootstrap issues with OpenSSL on NetBSD build hosts #44320
Conversation
Adds `impl<T, U> TryFrom<T> for U where U: From<T>`. Removes `impl<'a, T> TryFrom<&'a str> for T where T: FromStr` due to overlapping impls caused by the new blanket impl. This removal is to be discussed further on the tracking issue for TryFrom. Refs rust-lang#33417.
r? @aturon (rust_highfive has picked a reviewer for you, use r? to override) |
@bors r+ |
📌 Commit ab89870 has been approved by |
⌛ Testing commit ab89870 with merge 88c5140a653fdad0e47173c82cc5877430225c71... |
💔 Test failed - status-travis |
⌛ Testing commit ab89870 with merge 7ec9447c941d9ff14a5cef56771621bac50d686b... |
💔 Test failed - status-travis |
|
⌛ Testing commit ab89870 with merge 8856ebd935bc0582ed59919f63e8c96d8dcff415... |
💔 Test failed - status-travis |
|
…d-8c68-1aecbd570fab, r=Mark-Simulacrum Fix extended bootstrap issues with OpenSSL on NetBSD build hosts
First step toward implementing impl Trait in argument position First step implementing rust-lang#44721. Add a flag to hir and ty TypeParameterDef and raise an error when using explicit type parameters when calling a function using impl Trait in argument position. I don't know if there is a procedure to add an error code so I just took an available code. Is that ok ? r? @nikomatsakis
Impl Try for Option This is part of rust-lang#31436.
…ackler Add blanket TryFrom impl when From is implemented. Adds `impl<T, U> TryFrom<T> for U where U: From<T>`. Removes `impl<'a, T> TryFrom<&'a str> for T where T: FromStr` (originally added in rust-lang#40281) due to overlapping impls caused by the new blanket impl. This removal is to be discussed further on the tracking issue for TryFrom. Refs rust-lang#33417. /cc @sfackler, @scottmcm (thank you for the help!), and @aturon
@bors r+ |
📌 Commit 90aa66b has been approved by |
adding E0623 for return types - both parameters are anonymous This is a fix for rust-lang#44018 ``` error[E0621]: explicit lifetime required in the type of `self` --> $DIR/ex3-both-anon-regions-return-type-is-anon.rs:17:5 | 16 | fn foo<'a>(&self, x: &i32) -> &i32 { | ---- ---- | | | this parameter and the return type are declared with different lifetimes... 17 | x | ^ ...but data from `x` is returned here error: aborting due to previous error ``` It also works for the below case where we have self as anonymous ``` error[E0623]: lifetime mismatch --> src/test/ui/lifetime-errors/ex3-both-anon-regions-self-is-anon.rs:17:19 | 16 | fn foo<'a>(&self, x: &Foo) -> &Foo { | ---- ---- | | | this parameter and the return type are declared with different lifetimes... 17 | if true { x } else { self } | ^ ...but data from `x` is returned here error: aborting due to previous error ``` r? @nikomatsakis Currently, I have enabled E0621 where return type and self are anonymous, hence WIP.
Allow T op= &T for built-in numeric types T v2 Manually rebase of @migi rust-lang#41336
…d-8c68-1aecbd570fab, r=Mark-Simulacrum Fix extended bootstrap issues with OpenSSL on NetBSD build hosts
Add --all flag to ./x.py clean This make `clean` removes the LLVM and download cache directory as well. Fixes rust-lang#44214. r? @Mark-Simulacrum
Infer `T: 'x` outlives requirements on structs rust-lang#44493 rust-lang#44493
Add doc example to HashMap::hasher None
docs improvement std::sync::{PoisonError, TryLockError} Addresses the `PoisonError` and `TryLockError` parts of rust-lang#29377. Adds examples and links. r? @steveklabnik
Backport libs stabilizations to 1.21 beta Includes the following stabilizations: - tcpstream_connect_timeout rust-lang#44563 - iterator_for_each rust-lang#44567 - ord_max_min rust-lang#44593 - compiler_fences rust-lang#44595 - needs_drop rust-lang#44639 - vec_splice rust-lang#44640 These have been backported in rust-lang#44823.
…=QuietMisdreavus Add missing links in fmt module r? @rust-lang/docs
Improve wording for StepBy No other iterator makes the distinction between an iterator and an iterator adapter in its summary line, so change it to be consistent with all other adapters.
Move src/librustc_mir/transform/nll.rs to a subdirectory CC rust-lang#43234
docs improvement sync::atomic::Atomic* Addresses the `Atomic*` part of rust-lang#29377. r? @steveklabnik
Remove DepNodeIndex::new is already impl for Idx
…ing, r=sfackler Normalize spaces in lang attributes. So, like, I grepped for all `lang` attributes for *reasons* and I noticed that they all share the same spacing of `#[lang = "item_name"]` except these five instances. So I decided to fix that. So enjoy this PR of exactly ten spaces.
ci: Fix building disabled containers * Change the context into the disabled directory. Now you can test containers which are disabled.
…komatsakis Remove new and index methods already implement for Idx These are the rest of the repeated implementations for new and index methods. Follow up of rust-lang#44889
…crum Rollup of 15 pull requests - Successful merges: rust-lang#44124, rust-lang#44287, rust-lang#44320, rust-lang#44694, rust-lang#44708, rust-lang#44794, rust-lang#44797, rust-lang#44824, rust-lang#44836, rust-lang#44840, rust-lang#44845, rust-lang#44854, rust-lang#44889, rust-lang#44900, rust-lang#44903 - Failed merges:
☔ The latest upstream changes (presumably #44936) made this pull request unmergeable. Please resolve the merge conflicts. |
Merged in #44936. |
No description provided.