-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Open
Labels
Description
Describe the bug
When I just quickly want to build some Rust code with older compilers, that no longer works:
<Compilation failed>
# For more information see the output window
# To open the output window, click or drag the "Output" icon at the bottom of this window
The output window says
error: argument for --edition must be one of: 2015|2018. (instead was `2021`)
Compiler returned: 1
Steps to reproduce
- visit https://rust.godbolt.org/
- select an old compiler (I used 1.37.0)
This leads to the error shown above.
Expected behavior
This should build successfully, as the given code is compatible with that compiler.
Reproduction link
Not applicablehttps://rust.godbolt.org/
Screenshots
Not applicable
Operating System
No response
Browser version
No response