-
Notifications
You must be signed in to change notification settings - Fork 13.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
Regression: conflicting implementations of trait std::convert::Into<std::boxed::Box<_>>
for type Bow<'_, _>
#46328
Comments
That... was not supposed to be a part of this PR, but rather #46192. I'll revert. OTOH, I think any crate can implement |
I don’t understand how this could be a conflict. The "source" type in the impl above is |
My bad, I meant impl From<Bow<TheirType>> for Box<TheirType> Which is legal because |
In that impl allowed in a crate defining neither |
This removes 3927 lines of Rust code in 6 crates from the dependency graph: parse-hosts, multistr, bow, extra-default, len-trait, and push-trait. On of these doesn’t build in today’s Nightly: rust-lang/rust#46328
This removes 3927 lines of Rust code in 6 crates from the dependency graph: parse-hosts, multistr, bow, extra-default, len-trait, and push-trait. One of these crates doesn’t build in today’s Nightly: rust-lang/rust#46328
Replace parse-hosts crate with 10 lines of code. This removes 3927 lines of Rust code in 6 crates from the dependency graph: parse-hosts, multistr, bow, extra-default, len-trait, and push-trait. One of these crates doesn’t build in today’s Nightly: rust-lang/rust#46328 <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/19411) <!-- Reviewable:end -->
Ariel says on IRC this is a real conflict and the new rustc behavior is meant to stay. The impl above is allowed because CC @clarcharr, author of this crate. |
… (from servo:parse-hosts); r=nox This removes 3927 lines of Rust code in 6 crates from the dependency graph: parse-hosts, multistr, bow, extra-default, len-trait, and push-trait. One of these crates doesn’t build in today’s Nightly: rust-lang/rust#46328 Source-Repo: https://github.com/servo/servo Source-Revision: ae3c3ba1c2f265e01a377f73f4a9016aded54367 --HG-- extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear extra : subtree_revision : b7d289b529cbdba3679c1e6c626264d90dd648d2
… (from servo:parse-hosts); r=nox This removes 3927 lines of Rust code in 6 crates from the dependency graph: parse-hosts, multistr, bow, extra-default, len-trait, and push-trait. One of these crates doesn’t build in today’s Nightly: rust-lang/rust#46328 Source-Repo: https://github.com/servo/servo Source-Revision: ae3c3ba1c2f265e01a377f73f4a9016aded54367
I reverted the commit so I'll close this issue. |
… (from servo:parse-hosts); r=nox This removes 3927 lines of Rust code in 6 crates from the dependency graph: parse-hosts, multistr, bow, extra-default, len-trait, and push-trait. One of these crates doesn’t build in today’s Nightly: rust-lang/rust#46328 Source-Repo: https://github.com/servo/servo Source-Revision: ae3c3ba1c2f265e01a377f73f4a9016aded54367
… (from servo:parse-hosts); r=nox This removes 3927 lines of Rust code in 6 crates from the dependency graph: parse-hosts, multistr, bow, extra-default, len-trait, and push-trait. One of these crates doesn’t build in today’s Nightly: rust-lang/rust#46328 Source-Repo: https://github.com/servo/servo Source-Revision: ae3c3ba1c2f265e01a377f73f4a9016aded54367 UltraBlame original commit: 09c999bcd0ab5a90adc7ae2cdf6187fea59a546f
… (from servo:parse-hosts); r=nox This removes 3927 lines of Rust code in 6 crates from the dependency graph: parse-hosts, multistr, bow, extra-default, len-trait, and push-trait. One of these crates doesn’t build in today’s Nightly: rust-lang/rust#46328 Source-Repo: https://github.com/servo/servo Source-Revision: ae3c3ba1c2f265e01a377f73f4a9016aded54367 UltraBlame original commit: 09c999bcd0ab5a90adc7ae2cdf6187fea59a546f
… (from servo:parse-hosts); r=nox This removes 3927 lines of Rust code in 6 crates from the dependency graph: parse-hosts, multistr, bow, extra-default, len-trait, and push-trait. One of these crates doesn’t build in today’s Nightly: rust-lang/rust#46328 Source-Repo: https://github.com/servo/servo Source-Revision: ae3c3ba1c2f265e01a377f73f4a9016aded54367 UltraBlame original commit: 09c999bcd0ab5a90adc7ae2cdf6187fea59a546f
https://crates.io/crates/bow/1.0.3 contains this impl:
It compiles on nightly-2017-11-27, but fails in nightly-2017-11-28 with:
Range between the two nighlies: 827cb0d...560a5da
c48650e from #44884 sounds maybe relevant. CC @arielb1
The text was updated successfully, but these errors were encountered: