Uh oh!
There was an error while loading. Please reload this page.
Account for bounds and asociated items when denying _ - #69148
Conversation
rust-highfive
commented
Feb 13, 2020
r? @cramertj (rust_highfive has picked a reviewer for you, use r? to override) |
Centril
commented
Feb 13, 2020
r? @oli-obk |
_ in type parameters_ in type parameters_ in type parameters_estebank
commented
Feb 20, 2020
ping |
pnkfelix
commented
Feb 20, 2020
discussed at T-compiler meeting. declined for beta backport. "current decision: no backport because too big, but let us know if you want us to revisit the question" |
estebank
commented
Feb 20, 2020
@pnkfelix saw the discussion, sounds fair. There's a very small fix that would cause duplicated output but would never ICE at the cost of the extra verbosity. Should I go ahead and do that? |
estebank
commented
Feb 20, 2020
rust-lang#69148 has a proper fix, but it is too big to backport. This change avoids the ICE by actually emitting an appropriate error. The output will be duplicated in some cases, but that's better than the avoidable ICE.
Centril
commented
Feb 24, 2020
@estebank Sorry, I don't think I have the time to invest into understanding this as well as I would want to to get to r+. :( |
oli-obk
commented
Feb 26, 2020
@bors r+ |
bors
commented
Feb 26, 2020
📌 Commit d3ad814a276964dfcf293904f76f16494e54d4eb has been approved by |
estebank
commented
Feb 26, 2020
…ceholder-type, r=Centril Backport only: avoid ICE on bad placeholder type rust-lang#69148 has a proper fix, but it is too big to backport. This change avoids the ICE by actually emitting an appropriate error. The output will be duplicated in some cases, but that's better than the avoidable ICE. r? @Centril
bors
commented
Feb 27, 2020
☔ The latest upstream changes (presumably #69507) made this pull request unmergeable. Please resolve the merge conflicts. |
estebank
commented
Feb 28, 2020
@bors r=oli-obk rebased on top of master with the other PR reverted |
bors
commented
Feb 28, 2020
📌 Commit c6cfcf9 has been approved by |
Account for bounds and asociated items when denying `_` Fixrust-lang#68801, rust-lang#69204. Follow up to rust-lang#67597 and rust-lang#68071. Output for the original ICE report: ``` Checking vinoteca v5.0.0 (/Users/ekuber/workspace/vinoteca) error[E0121]: the type placeholder `_` is not allowed within types on item signatures --> src/producers.rs:43:70 | 43 | pub fn top<Table: diesel::Table + diesel::query_dsl::InternalJoinDsl<_, diesel::query_source::joins::Inner, _>>(table: Table, limit: usize, connection: DbConn) -> RestResult<Vec<TopWineType>> { | ^ not allowed in type signatures ^ not allowed in type signatures error: aborting due to previous error ```
bors
commented
Feb 28, 2020
bors
commented
Feb 28, 2020
☀️ Test successful - checks-azure |
…r=Centril Account for bad placeholder types in where clauses Fixrust-lang#70291. Follow up to rust-lang#69148.
…r=Centril Account for bad placeholder types in where clauses Fixrust-lang#70291. Follow up to rust-lang#69148.
…r=Centril Account for bad placeholder types in where clauses Fixrust-lang#70291. Follow up to rust-lang#69148.
Fix#68801, #69204. Follow up to #67597 and #68071.
Output for the original ICE report: