Skip to content

Mention ‘rustc --edition=2018’ #156

Open
@andersk

Description

@andersk

Rust code isn’t always compiled via Cargo, and it’s surprisingly hard to figure out that Rust 2018 is not the default for rustc and that you can run rustc --edition=2018. This ought to be documented somewhere and the Edition Guide seems like a good place.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions