Skip to content

Commit 9d33d05

Browse files
bors[bot]lnicola
andauthored
Merge #10617
10617: Set MSRV r=Veykril a=lnicola Set the MSRV to `1.56` since we're already on the 2021 edition and building with older version fails. From now on, there'll be a change in behavior: `xtask install` used to warn on old toolchains, but now the user will get an error. This isn't so bad because: - the check in `xtask install` wasn't always working (because sometimes `xtask` itself required a newer toolchain) - we generally bump the required version for a reason (when using a newer feature). We might forget to bump it, but when we do, older toolchains won't work Co-authored-by: Laurențiu Nicola <lnicola@dend.ro>
2 parents fe7c516 + 8457ae3 commit 9d33d05

File tree

37 files changed

+38
-37
lines changed

37 files changed

+38
-37
lines changed

crates/base_db/Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ version = "0.0.0"
44
description = "TBD"
55
license = "MIT OR Apache-2.0"
66
edition = "2021"
7+
rust-version = "1.56"
78

89
[lib]
910
doctest = false

crates/cfg/Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ version = "0.0.0"
44
description = "TBD"
55
license = "MIT OR Apache-2.0"
66
edition = "2021"
7+
rust-version = "1.56"
78

89
[lib]
910
doctest = false

crates/flycheck/Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ version = "0.0.0"
44
description = "TBD"
55
license = "MIT OR Apache-2.0"
66
edition = "2021"
7+
rust-version = "1.56"
78

89
[lib]
910
doctest = false

crates/hir/Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ version = "0.0.0"
44
description = "TBD"
55
license = "MIT OR Apache-2.0"
66
edition = "2021"
7+
rust-version = "1.56"
78

89
[lib]
910
doctest = false

crates/hir_def/Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ version = "0.0.0"
44
description = "TBD"
55
license = "MIT OR Apache-2.0"
66
edition = "2021"
7+
rust-version = "1.56"
78

89
[lib]
910
doctest = false

crates/hir_expand/Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ version = "0.0.0"
44
description = "TBD"
55
license = "MIT OR Apache-2.0"
66
edition = "2021"
7+
rust-version = "1.56"
78

89
[lib]
910
doctest = false

crates/hir_ty/Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ version = "0.0.0"
44
description = "TBD"
55
license = "MIT OR Apache-2.0"
66
edition = "2021"
7+
rust-version = "1.56"
78

89
[lib]
910
doctest = false

crates/ide/Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ version = "0.0.0"
44
description = "TBD"
55
license = "MIT OR Apache-2.0"
66
edition = "2021"
7+
rust-version = "1.56"
78

89
[lib]
910
doctest = false

crates/ide_assists/Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ version = "0.0.0"
44
description = "TBD"
55
license = "MIT OR Apache-2.0"
66
edition = "2021"
7+
rust-version = "1.56"
78

89
[lib]
910
doctest = false

crates/ide_completion/Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ version = "0.0.0"
44
description = "TBD"
55
license = "MIT OR Apache-2.0"
66
edition = "2021"
7+
rust-version = "1.56"
78

89
[lib]
910
doctest = false

0 commit comments

Comments
 (0)