mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-27 17:24:06 +00:00
Stabilize edition
configuration option
Refs: #3104. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
This commit is contained in:
parent
6739dbe77d
commit
9c3ae2d951
@ -2275,7 +2275,7 @@ Specifies which edition is used by the parser.
|
|||||||
|
|
||||||
- **Default value**: `2015`
|
- **Default value**: `2015`
|
||||||
- **Possible values**: `2015`, `2018`
|
- **Possible values**: `2015`, `2018`
|
||||||
- **Stable**: No
|
- **Stable**: Yes
|
||||||
|
|
||||||
### Example
|
### Example
|
||||||
|
|
||||||
|
@ -110,7 +110,7 @@ create_config! {
|
|||||||
"Maximum number of blank lines which can be put between items";
|
"Maximum number of blank lines which can be put between items";
|
||||||
blank_lines_lower_bound: usize, 0, false,
|
blank_lines_lower_bound: usize, 0, false,
|
||||||
"Minimum number of blank lines which must be put between items";
|
"Minimum number of blank lines which must be put between items";
|
||||||
edition: Edition, Edition::Edition2015, false, "The edition of the parser (RFC 2052)";
|
edition: Edition, Edition::Edition2015, true, "The edition of the parser (RFC 2052)";
|
||||||
|
|
||||||
// Options that can change the source code beyond whitespace/blocks (somewhat linty things)
|
// Options that can change the source code beyond whitespace/blocks (somewhat linty things)
|
||||||
merge_derives: bool, true, true, "Merge multiple `#[derive(...)]` into a single one";
|
merge_derives: bool, true, true, "Merge multiple `#[derive(...)]` into a single one";
|
||||||
|
Loading…
Reference in New Issue
Block a user