Skip to content

Commit

Permalink
Migrate to 2021
Browse files Browse the repository at this point in the history
  • Loading branch information
Mark-Simulacrum committed Sep 21, 2021
1 parent 45b989a commit c746be2
Show file tree
Hide file tree
Showing 87 changed files with 87 additions and 87 deletions.
2 changes: 1 addition & 1 deletion compiler/rustc/Cargo.toml
@@ -1,7 +1,7 @@
[package]
name = "rustc-main"
version = "0.0.0"
edition = '2018'
edition = "2021"

[dependencies]
rustc_driver = { path = "../rustc_driver" }
Expand Down
2 changes: 1 addition & 1 deletion compiler/rustc_apfloat/Cargo.toml
@@ -1,7 +1,7 @@
[package]
name = "rustc_apfloat"
version = "0.0.0"
edition = "2018"
edition = "2021"

[dependencies]
bitflags = "1.2.1"
Expand Down
2 changes: 1 addition & 1 deletion compiler/rustc_arena/Cargo.toml
@@ -1,7 +1,7 @@
[package]
name = "rustc_arena"
version = "0.0.0"
edition = "2018"
edition = "2021"

[dependencies]
rustc_data_structures = { path = "../rustc_data_structures" }
Expand Down
2 changes: 1 addition & 1 deletion compiler/rustc_ast/Cargo.toml
@@ -1,7 +1,7 @@
[package]
name = "rustc_ast"
version = "0.0.0"
edition = "2018"
edition = "2021"

[lib]
doctest = false
Expand Down
2 changes: 1 addition & 1 deletion compiler/rustc_ast_lowering/Cargo.toml
@@ -1,7 +1,7 @@
[package]
name = "rustc_ast_lowering"
version = "0.0.0"
edition = "2018"
edition = "2021"

[lib]
doctest = false
Expand Down
2 changes: 1 addition & 1 deletion compiler/rustc_ast_passes/Cargo.toml
@@ -1,7 +1,7 @@
[package]
name = "rustc_ast_passes"
version = "0.0.0"
edition = "2018"
edition = "2021"

[dependencies]
itertools = "0.9"
Expand Down
2 changes: 1 addition & 1 deletion compiler/rustc_ast_pretty/Cargo.toml
@@ -1,7 +1,7 @@
[package]
name = "rustc_ast_pretty"
version = "0.0.0"
edition = "2018"
edition = "2021"

[lib]
doctest = false
Expand Down
2 changes: 1 addition & 1 deletion compiler/rustc_attr/Cargo.toml
@@ -1,7 +1,7 @@
[package]
name = "rustc_attr"
version = "0.0.0"
edition = "2018"
edition = "2021"

[lib]
doctest = false
Expand Down
2 changes: 1 addition & 1 deletion compiler/rustc_borrowck/Cargo.toml
@@ -1,7 +1,7 @@
[package]
name = "rustc_borrowck"
version = "0.0.0"
edition = "2018"
edition = "2021"

[lib]
doctest = false
Expand Down
2 changes: 1 addition & 1 deletion compiler/rustc_builtin_macros/Cargo.toml
@@ -1,7 +1,7 @@
[package]
name = "rustc_builtin_macros"
version = "0.0.0"
edition = "2018"
edition = "2021"

[lib]
doctest = false
Expand Down
2 changes: 1 addition & 1 deletion compiler/rustc_codegen_cranelift/Cargo.toml
@@ -1,7 +1,7 @@
[package]
name = "rustc_codegen_cranelift"
version = "0.1.0"
edition = "2018"
edition = "2021"

[lib]
crate-type = ["dylib"]
Expand Down
2 changes: 1 addition & 1 deletion compiler/rustc_codegen_llvm/Cargo.toml
@@ -1,7 +1,7 @@
[package]
name = "rustc_codegen_llvm"
version = "0.0.0"
edition = "2018"
edition = "2021"

[lib]
test = false
Expand Down
2 changes: 1 addition & 1 deletion compiler/rustc_codegen_ssa/Cargo.toml
@@ -1,7 +1,7 @@
[package]
name = "rustc_codegen_ssa"
version = "0.0.0"
edition = "2018"
edition = "2021"

[lib]
test = false
Expand Down
2 changes: 1 addition & 1 deletion compiler/rustc_const_eval/Cargo.toml
@@ -1,7 +1,7 @@
[package]
name = "rustc_const_eval"
version = "0.0.0"
edition = "2018"
edition = "2021"

[lib]
doctest = false
Expand Down
2 changes: 1 addition & 1 deletion compiler/rustc_data_structures/Cargo.toml
@@ -1,7 +1,7 @@
[package]
name = "rustc_data_structures"
version = "0.0.0"
edition = "2018"
edition = "2021"

[lib]
doctest = false
Expand Down
2 changes: 1 addition & 1 deletion compiler/rustc_driver/Cargo.toml
@@ -1,7 +1,7 @@
[package]
name = "rustc_driver"
version = "0.0.0"
edition = "2018"
edition = "2021"

[lib]
crate-type = ["dylib"]
Expand Down
2 changes: 1 addition & 1 deletion compiler/rustc_error_codes/Cargo.toml
@@ -1,4 +1,4 @@
[package]
name = "rustc_error_codes"
version = "0.0.0"
edition = "2018"
edition = "2021"
2 changes: 1 addition & 1 deletion compiler/rustc_errors/Cargo.toml
@@ -1,7 +1,7 @@
[package]
name = "rustc_errors"
version = "0.0.0"
edition = "2018"
edition = "2021"

[lib]
doctest = false
Expand Down
2 changes: 1 addition & 1 deletion compiler/rustc_expand/Cargo.toml
@@ -1,7 +1,7 @@
[package]
name = "rustc_expand"
version = "0.0.0"
edition = "2018"
edition = "2021"
build = false

[lib]
Expand Down
2 changes: 1 addition & 1 deletion compiler/rustc_feature/Cargo.toml
@@ -1,7 +1,7 @@
[package]
name = "rustc_feature"
version = "0.0.0"
edition = "2018"
edition = "2021"

[lib]
doctest = false
Expand Down
2 changes: 1 addition & 1 deletion compiler/rustc_fs_util/Cargo.toml
@@ -1,4 +1,4 @@
[package]
name = "rustc_fs_util"
version = "0.0.0"
edition = "2018"
edition = "2021"
2 changes: 1 addition & 1 deletion compiler/rustc_graphviz/Cargo.toml
@@ -1,4 +1,4 @@
[package]
name = "rustc_graphviz"
version = "0.0.0"
edition = "2018"
edition = "2021"
2 changes: 1 addition & 1 deletion compiler/rustc_hir/Cargo.toml
@@ -1,7 +1,7 @@
[package]
name = "rustc_hir"
version = "0.0.0"
edition = "2018"
edition = "2021"

[lib]
doctest = false
Expand Down
2 changes: 1 addition & 1 deletion compiler/rustc_hir_pretty/Cargo.toml
@@ -1,7 +1,7 @@
[package]
name = "rustc_hir_pretty"
version = "0.0.0"
edition = "2018"
edition = "2021"

[lib]
doctest = false
Expand Down
2 changes: 1 addition & 1 deletion compiler/rustc_incremental/Cargo.toml
@@ -1,7 +1,7 @@
[package]
name = "rustc_incremental"
version = "0.0.0"
edition = "2018"
edition = "2021"

[lib]
doctest = false
Expand Down
2 changes: 1 addition & 1 deletion compiler/rustc_index/Cargo.toml
@@ -1,7 +1,7 @@
[package]
name = "rustc_index"
version = "0.0.0"
edition = "2018"
edition = "2021"

[lib]
doctest = false
Expand Down
2 changes: 1 addition & 1 deletion compiler/rustc_infer/Cargo.toml
@@ -1,7 +1,7 @@
[package]
name = "rustc_infer"
version = "0.0.0"
edition = "2018"
edition = "2021"

[lib]
doctest = false
Expand Down
2 changes: 1 addition & 1 deletion compiler/rustc_interface/Cargo.toml
@@ -1,7 +1,7 @@
[package]
name = "rustc_interface"
version = "0.0.0"
edition = "2018"
edition = "2021"

[lib]
doctest = false
Expand Down
2 changes: 1 addition & 1 deletion compiler/rustc_lexer/Cargo.toml
Expand Up @@ -2,7 +2,7 @@
name = "rustc_lexer"
version = "0.1.0"
license = "MIT OR Apache-2.0"
edition = "2018"
edition = "2021"

repository = "https://github.com/rust-lang/rust/"
description = """
Expand Down
2 changes: 1 addition & 1 deletion compiler/rustc_lint/Cargo.toml
@@ -1,7 +1,7 @@
[package]
name = "rustc_lint"
version = "0.0.0"
edition = "2018"
edition = "2021"

[dependencies]
if_chain = "1.0"
Expand Down
2 changes: 1 addition & 1 deletion compiler/rustc_lint_defs/Cargo.toml
@@ -1,7 +1,7 @@
[package]
name = "rustc_lint_defs"
version = "0.0.0"
edition = "2018"
edition = "2021"

[dependencies]
rustc_ast = { path = "../rustc_ast" }
Expand Down
2 changes: 1 addition & 1 deletion compiler/rustc_llvm/Cargo.toml
@@ -1,7 +1,7 @@
[package]
name = "rustc_llvm"
version = "0.0.0"
edition = "2018"
edition = "2021"

[features]
static-libstdcpp = []
Expand Down
2 changes: 1 addition & 1 deletion compiler/rustc_macros/Cargo.toml
@@ -1,7 +1,7 @@
[package]
name = "rustc_macros"
version = "0.1.0"
edition = "2018"
edition = "2021"

[lib]
proc-macro = true
Expand Down
2 changes: 1 addition & 1 deletion compiler/rustc_metadata/Cargo.toml
@@ -1,7 +1,7 @@
[package]
name = "rustc_metadata"
version = "0.0.0"
edition = "2018"
edition = "2021"

[lib]
doctest = false
Expand Down
2 changes: 1 addition & 1 deletion compiler/rustc_middle/Cargo.toml
@@ -1,7 +1,7 @@
[package]
name = "rustc_middle"
version = "0.0.0"
edition = "2018"
edition = "2021"

[lib]
doctest = false
Expand Down
2 changes: 1 addition & 1 deletion compiler/rustc_mir_build/Cargo.toml
@@ -1,7 +1,7 @@
[package]
name = "rustc_mir_build"
version = "0.0.0"
edition = "2018"
edition = "2021"

[lib]
doctest = false
Expand Down
2 changes: 1 addition & 1 deletion compiler/rustc_mir_dataflow/Cargo.toml
@@ -1,7 +1,7 @@
[package]
name = "rustc_mir_dataflow"
version = "0.0.0"
edition = "2018"
edition = "2021"

[lib]
doctest = false
Expand Down
2 changes: 1 addition & 1 deletion compiler/rustc_mir_transform/Cargo.toml
@@ -1,7 +1,7 @@
[package]
name = "rustc_mir_transform"
version = "0.0.0"
edition = "2018"
edition = "2021"

[lib]
doctest = false
Expand Down
@@ -1,7 +1,7 @@
[package]
name = "coverage_test_macros"
version = "0.0.0"
edition = "2018"
edition = "2021"

[lib]
proc-macro = true
Expand Down
2 changes: 1 addition & 1 deletion compiler/rustc_monomorphize/Cargo.toml
@@ -1,7 +1,7 @@
[package]
name = "rustc_monomorphize"
version = "0.0.0"
edition = "2018"
edition = "2021"

[lib]
doctest = false
Expand Down
2 changes: 1 addition & 1 deletion compiler/rustc_parse/Cargo.toml
@@ -1,7 +1,7 @@
[package]
name = "rustc_parse"
version = "0.0.0"
edition = "2018"
edition = "2021"

[lib]
doctest = false
Expand Down
2 changes: 1 addition & 1 deletion compiler/rustc_parse_format/Cargo.toml
@@ -1,7 +1,7 @@
[package]
name = "rustc_parse_format"
version = "0.0.0"
edition = "2018"
edition = "2021"

[dependencies]
rustc_span = { path = "../rustc_span" }
Expand Down
2 changes: 1 addition & 1 deletion compiler/rustc_passes/Cargo.toml
@@ -1,7 +1,7 @@
[package]
name = "rustc_passes"
version = "0.0.0"
edition = "2018"
edition = "2021"

[dependencies]
tracing = "0.1"
Expand Down
2 changes: 1 addition & 1 deletion compiler/rustc_plugin_impl/Cargo.toml
Expand Up @@ -2,7 +2,7 @@
name = "rustc_plugin_impl"
version = "0.0.0"
build = false
edition = "2018"
edition = "2021"

[lib]
doctest = false
Expand Down
2 changes: 1 addition & 1 deletion compiler/rustc_privacy/Cargo.toml
@@ -1,7 +1,7 @@
[package]
name = "rustc_privacy"
version = "0.0.0"
edition = "2018"
edition = "2021"

[dependencies]
rustc_middle = { path = "../rustc_middle" }
Expand Down

0 comments on commit c746be2

Please sign in to comment.