Skip to content

"type annotations required" errors in 1.28 beta #51844

Closed
@pietroalbini

Description

A bunch of crates failed to compile in 1.28 beta with error messages like these:

type annotations required: cannot resolve `std::io::Error: std::convert::From<_>`
type annotations required: cannot resolve `std::borrow::Cow<'_, str>: std::convert::From<&_>`'`
type annotations required: cannot resolve `std::string::String: std::convert::AsRef<_>`

Also, the following crates are failing because they depend on tokio-dns-unofficial:

Metadata

Assignees

No one assigned

    Labels

    T-libs-apiRelevant to the library API team, which will review and decide on the PR/issue.regression-from-stable-to-betaPerformance or correctness regression from stable to beta.

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions