Skip to content

--edition should tell what the default edition is #106041

Closed
@matthiaskrgr

Description

@matthiaskrgr

rustc --edition: error: Argument to option 'edition' missing

rustc --edition=help: error: argument for `--edition` must be one of: 2015|2018|2021|2024. (instead was `help`)

rustc --help

        --edition 2015|2018|2021|2024
                        Specify which edition of the compiler to use when
                        compiling code.

The default is not mentioned anywhere. I assume it is 2015?

Metadata

Metadata

Assignees

Labels

C-bugCategory: This is a bug.E-easyCall for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.E-mentorCall for participation: This issue has a mentor. Use #t-compiler/help on Zulip for discussion.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions