Skip to content

Consider whether ? should switch from From::from to Into::into for Rust 2018 #49531

Closed
@scottmcm

Description

@scottmcm

Using into instead allows for more conversions to be defined, since it has different coherence rules, which all else being equal would be good. But because of that, there are (per the IRLO thread) some uses that are inferable today with from but not into.

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-enhancementCategory: An issue proposing an enhancement or a PR with one.WG-epochWorking group: Epoch (2018) management

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions