Skip to content

type mismatch with equal types in async function #14488

@griffi-gh

Description

@griffi-gh

expected impl Future<Output = (StatusCode, Json)>, found impl Future<Output = (StatusCode, Json)>

VSCodium_Y81nKLcx4u

Crate compiles without any issues.

rust-analyzer version: rust-analyzer version: 0.4.1462-standalone (e871540 2023-04-04)

rustc version: rustc 1.70.0-nightly (7820b62 2023-03-05)

(also tested on rustc 1.70.0-nightly (cf7ada217 2023-04-03))

relevant settings: -

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-tytype system / type inference / traits / method resolutionC-bugCategory: bug

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions