Skip to content
This repository was archived by the owner on May 28, 2025. It is now read-only.

Commit 284583f

Browse files
authored
Merge pull request rust-lang#3134 from otavio/issue-3104
Stabilize `edition` configuration option
2 parents faac101 + 9c3ae2d commit 284583f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Configurations.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2275,7 +2275,7 @@ Specifies which edition is used by the parser.
22752275

22762276
- **Default value**: `2015`
22772277
- **Possible values**: `2015`, `2018`
2278-
- **Stable**: No
2278+
- **Stable**: Yes
22792279

22802280
### Example
22812281

src/config/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ create_config! {
110110
"Maximum number of blank lines which can be put between items";
111111
blank_lines_lower_bound: usize, 0, false,
112112
"Minimum number of blank lines which must be put between items";
113-
edition: Edition, Edition::Edition2015, false, "The edition of the parser (RFC 2052)";
113+
edition: Edition, Edition::Edition2015, true, "The edition of the parser (RFC 2052)";
114114

115115
// Options that can change the source code beyond whitespace/blocks (somewhat linty things)
116116
merge_derives: bool, true, true, "Merge multiple `#[derive(...)]` into a single one";

0 commit comments

Comments
 (0)