Skip to content

Commit

Permalink
Rollup merge of #119803 - oli-obk:even_more_follow_up_errors, r=compi…
Browse files Browse the repository at this point in the history
…ler-errors

Silence some follow-up errors [1/x]

this is one piece of the requested cleanups from rust-lang/rust#117449

When we use `-> impl SomeTrait<_>` as a return type, we are both using the "infer return type suggestion" code path, and the infer opaque type code path within the same function. That can lead to confusing diagnostics, so silence all opaque type diagnostics in that case.
  • Loading branch information
matthiaskrgr authored Jan 11, 2024
2 parents 48b44f8 + c368b4c commit 5f4772e
Showing 0 changed files with 0 additions and 0 deletions.

0 comments on commit 5f4772e

Please sign in to comment.