Skip to content

Commit

Permalink
Make things build again
Browse files Browse the repository at this point in the history
  • Loading branch information
petrochenkov committed Dec 30, 2019
1 parent b683de4 commit b9a9c5b
Show file tree
Hide file tree
Showing 32 changed files with 125 additions and 125 deletions.
156 changes: 78 additions & 78 deletions Cargo.lock

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/libfmt_macros/Cargo.toml
Expand Up @@ -9,5 +9,5 @@ name = "fmt_macros"
path = "lib.rs"

[dependencies]
syntax_pos = { path = "../libsyntax_pos" }
syntax_pos = { path = "../librustc_span", package = "rustc_span" }
rustc_lexer = { path = "../librustc_lexer" }
2 changes: 1 addition & 1 deletion src/librustc/Cargo.toml
Expand Up @@ -30,7 +30,7 @@ rustc_index = { path = "../librustc_index" }
errors = { path = "../librustc_errors", package = "rustc_errors" }
rustc_serialize = { path = "../libserialize", package = "serialize" }
syntax = { path = "../libsyntax" }
syntax_pos = { path = "../libsyntax_pos" }
syntax_pos = { path = "../librustc_span", package = "rustc_span" }
backtrace = "0.3.40"
parking_lot = "0.9"
byteorder = { version = "1.3" }
Expand Down
8 changes: 4 additions & 4 deletions src/librustc_builtin_macros/Cargo.toml
@@ -1,11 +1,11 @@
[package]
authors = ["The Rust Project Developers"]
name = "syntax_ext"
name = "rustc_builtin_macros"
version = "0.0.0"
edition = "2018"

[lib]
name = "syntax_ext"
name = "rustc_builtin_macros"
path = "lib.rs"
doctest = false

Expand All @@ -19,6 +19,6 @@ rustc_parse = { path = "../librustc_parse" }
rustc_target = { path = "../librustc_target" }
smallvec = { version = "1.0", features = ["union", "may_dangle"] }
syntax = { path = "../libsyntax" }
syntax_expand = { path = "../libsyntax_expand" }
syntax_pos = { path = "../libsyntax_pos" }
syntax_expand = { path = "../librustc_expand", package = "rustc_expand" }
syntax_pos = { path = "../librustc_span", package = "rustc_span" }
rustc_error_codes = { path = "../librustc_error_codes" }
8 changes: 4 additions & 4 deletions src/librustc_builtin_macros/deriving/generic/mod.rs
Expand Up @@ -412,8 +412,8 @@ impl<'a> TraitDef<'a> {
_ => {
// Non-ADT derive is an error, but it should have been
// set earlier; see
// libsyntax_expand/expand.rs:MacroExpander::fully_expand_fragment()
// libsyntax_expand/base.rs:Annotatable::derive_allowed()
// librustc_expand/expand.rs:MacroExpander::fully_expand_fragment()
// librustc_expand/base.rs:Annotatable::derive_allowed()
return;
}
};
Expand Down Expand Up @@ -487,8 +487,8 @@ impl<'a> TraitDef<'a> {
_ => {
// Non-Item derive is an error, but it should have been
// set earlier; see
// libsyntax_expand/expand.rs:MacroExpander::fully_expand_fragment()
// libsyntax_expand/base.rs:Annotatable::derive_allowed()
// librustc_expand/expand.rs:MacroExpander::fully_expand_fragment()
// librustc_expand/base.rs:Annotatable::derive_allowed()
return;
}
}
Expand Down
4 changes: 2 additions & 2 deletions src/librustc_builtin_macros/deriving/mod.rs
Expand Up @@ -92,8 +92,8 @@ fn inject_impl_of_structural_trait(
_ => {
// Non-Item derive is an error, but it should have been
// set earlier; see
// libsyntax_expand/expand.rs:MacroExpander::fully_expand_fragment()
// libsyntax_expand/base.rs:Annotatable::derive_allowed()
// librustc_expand/expand.rs:MacroExpander::fully_expand_fragment()
// librustc_expand/base.rs:Annotatable::derive_allowed()
return;
}
};
Expand Down
4 changes: 2 additions & 2 deletions src/librustc_codegen_llvm/Cargo.toml
Expand Up @@ -30,5 +30,5 @@ rustc_session = { path = "../librustc_session" }
rustc_target = { path = "../librustc_target" }
smallvec = { version = "0.6.7", features = ["union", "may_dangle"] }
syntax = { path = "../libsyntax" }
syntax_expand = { path = "../libsyntax_expand" }
syntax_pos = { path = "../libsyntax_pos" }
syntax_expand = { path = "../librustc_expand", package = "rustc_expand" }
syntax_pos = { path = "../librustc_span", package = "rustc_span" }
2 changes: 1 addition & 1 deletion src/librustc_codegen_ssa/Cargo.toml
Expand Up @@ -21,7 +21,7 @@ tempfile = "3.1"

rustc_serialize = { path = "../libserialize", package = "serialize" }
syntax = { path = "../libsyntax" }
syntax_pos = { path = "../libsyntax_pos" }
syntax_pos = { path = "../librustc_span", package = "rustc_span" }
rustc = { path = "../librustc" }
rustc_apfloat = { path = "../librustc_apfloat" }
rustc_codegen_utils = { path = "../librustc_codegen_utils" }
Expand Down
2 changes: 1 addition & 1 deletion src/librustc_codegen_utils/Cargo.toml
Expand Up @@ -15,7 +15,7 @@ punycode = "0.4.0"
rustc-demangle = "0.1.16"

syntax = { path = "../libsyntax" }
syntax_pos = { path = "../libsyntax_pos" }
syntax_pos = { path = "../librustc_span", package = "rustc_span" }
rustc = { path = "../librustc" }
rustc_target = { path = "../librustc_target" }
rustc_data_structures = { path = "../librustc_data_structures" }
Expand Down
2 changes: 1 addition & 1 deletion src/librustc_driver/Cargo.toml
Expand Up @@ -31,7 +31,7 @@ rustc_interface = { path = "../librustc_interface" }
rustc_serialize = { path = "../libserialize", package = "serialize" }
rustc_resolve = { path = "../librustc_resolve" }
syntax = { path = "../libsyntax" }
syntax_pos = { path = "../libsyntax_pos" }
syntax_pos = { path = "../librustc_span", package = "rustc_span" }

[features]
llvm = ['rustc_interface/llvm']
2 changes: 1 addition & 1 deletion src/librustc_errors/Cargo.toml
Expand Up @@ -12,7 +12,7 @@ doctest = false
[dependencies]
log = "0.4"
rustc_serialize = { path = "../libserialize", package = "serialize" }
syntax_pos = { path = "../libsyntax_pos" }
syntax_pos = { path = "../librustc_span", package = "rustc_span" }
rustc_data_structures = { path = "../librustc_data_structures" }
unicode-width = "0.1.4"
atty = "0.2"
Expand Down
6 changes: 3 additions & 3 deletions src/librustc_expand/Cargo.toml
@@ -1,19 +1,19 @@
[package]
authors = ["The Rust Project Developers"]
name = "syntax_expand"
name = "rustc_expand"
version = "0.0.0"
edition = "2018"
build = false

[lib]
name = "syntax_expand"
name = "rustc_expand"
path = "lib.rs"
doctest = false

[dependencies]
rustc_serialize = { path = "../libserialize", package = "serialize" }
log = "0.4"
syntax_pos = { path = "../libsyntax_pos" }
syntax_pos = { path = "../librustc_span", package = "rustc_span" }
errors = { path = "../librustc_errors", package = "rustc_errors" }
rustc_data_structures = { path = "../librustc_data_structures" }
rustc_feature = { path = "../librustc_feature" }
Expand Down
2 changes: 1 addition & 1 deletion src/librustc_feature/Cargo.toml
Expand Up @@ -12,4 +12,4 @@ doctest = false
[dependencies]
rustc_data_structures = { path = "../librustc_data_structures" }
lazy_static = "1.0.0"
syntax_pos = { path = "../libsyntax_pos" }
syntax_pos = { path = "../librustc_span", package = "rustc_span" }
2 changes: 1 addition & 1 deletion src/librustc_incremental/Cargo.toml
Expand Up @@ -17,6 +17,6 @@ rustc = { path = "../librustc" }
rustc_data_structures = { path = "../librustc_data_structures" }
rustc_serialize = { path = "../libserialize", package = "serialize" }
syntax = { path = "../libsyntax" }
syntax_pos = { path = "../libsyntax_pos" }
syntax_pos = { path = "../librustc_span", package = "rustc_span" }
rustc_fs_util = { path = "../librustc_fs_util" }
rustc_session = { path = "../librustc_session" }
6 changes: 3 additions & 3 deletions src/librustc_interface/Cargo.toml
Expand Up @@ -14,10 +14,10 @@ log = "0.4"
rayon = { version = "0.3.0", package = "rustc-rayon" }
smallvec = { version = "1.0", features = ["union", "may_dangle"] }
syntax = { path = "../libsyntax" }
syntax_ext = { path = "../libsyntax_ext" }
syntax_expand = { path = "../libsyntax_expand" }
syntax_ext = { path = "../librustc_builtin_macros", package = "rustc_builtin_macros" }
syntax_expand = { path = "../librustc_expand", package = "rustc_expand" }
rustc_parse = { path = "../librustc_parse" }
syntax_pos = { path = "../libsyntax_pos" }
syntax_pos = { path = "../librustc_span", package = "rustc_span" }
rustc_serialize = { path = "../libserialize", package = "serialize" }
rustc = { path = "../librustc" }
rustc_incremental = { path = "../librustc_incremental" }
Expand Down
2 changes: 1 addition & 1 deletion src/librustc_lint/Cargo.toml
Expand Up @@ -13,7 +13,7 @@ log = "0.4"
rustc = { path = "../librustc" }
rustc_target = { path = "../librustc_target" }
syntax = { path = "../libsyntax" }
syntax_pos = { path = "../libsyntax_pos" }
syntax_pos = { path = "../librustc_span", package = "rustc_span" }
rustc_data_structures = { path = "../librustc_data_structures" }
rustc_feature = { path = "../librustc_feature" }
rustc_index = { path = "../librustc_index" }
Expand Down
4 changes: 2 additions & 2 deletions src/librustc_metadata/Cargo.toml
Expand Up @@ -22,7 +22,7 @@ rustc_index = { path = "../librustc_index" }
rustc_serialize = { path = "../libserialize", package = "serialize" }
stable_deref_trait = "1.0.0"
syntax = { path = "../libsyntax" }
syntax_expand = { path = "../libsyntax_expand" }
syntax_expand = { path = "../librustc_expand", package = "rustc_expand" }
rustc_parse = { path = "../librustc_parse" }
syntax_pos = { path = "../libsyntax_pos" }
syntax_pos = { path = "../librustc_span", package = "rustc_span" }
rustc_error_codes = { path = "../librustc_error_codes" }
2 changes: 1 addition & 1 deletion src/librustc_metadata/rmeta/decoder.rs
Expand Up @@ -637,7 +637,7 @@ impl<'a, 'tcx> CrateMetadata {
// DefIndex's in root.proc_macro_data have a one-to-one correspondence
// with items in 'raw_proc_macros'.
// NOTE: If you update the order of macros in 'proc_macro_data' for any reason,
// you must also update src/libsyntax_ext/proc_macro_harness.rs
// you must also update src/librustc_builtin_macros/proc_macro_harness.rs
// Failing to do so will result in incorrect data being associated
// with proc macros when deserialized.
let pos = self.root.proc_macro_data.unwrap().decode(self).position(|i| i == id).unwrap();
Expand Down
2 changes: 1 addition & 1 deletion src/librustc_mir/Cargo.toml
Expand Up @@ -26,7 +26,7 @@ rustc_lexer = { path = "../librustc_lexer" }
rustc_macros = { path = "../librustc_macros" }
rustc_serialize = { path = "../libserialize", package = "serialize" }
syntax = { path = "../libsyntax" }
syntax_pos = { path = "../libsyntax_pos" }
syntax_pos = { path = "../librustc_span", package = "rustc_span" }
rustc_apfloat = { path = "../librustc_apfloat" }
smallvec = { version = "1.0", features = ["union", "may_dangle"] }
rustc_error_codes = { path = "../librustc_error_codes" }
2 changes: 1 addition & 1 deletion src/librustc_parse/Cargo.toml
Expand Up @@ -18,6 +18,6 @@ rustc_lexer = { path = "../librustc_lexer" }
rustc_errors = { path = "../librustc_errors" }
rustc_error_codes = { path = "../librustc_error_codes" }
smallvec = { version = "1.0", features = ["union", "may_dangle"] }
syntax_pos = { path = "../libsyntax_pos" }
syntax_pos = { path = "../librustc_span", package = "rustc_span" }
syntax = { path = "../libsyntax" }
unicode-normalization = "0.1.11"
2 changes: 1 addition & 1 deletion src/librustc_passes/Cargo.toml
Expand Up @@ -17,6 +17,6 @@ rustc_index = { path = "../librustc_index" }
rustc_parse = { path = "../librustc_parse" }
rustc_target = { path = "../librustc_target" }
syntax = { path = "../libsyntax" }
syntax_pos = { path = "../libsyntax_pos" }
syntax_pos = { path = "../librustc_span", package = "rustc_span" }
errors = { path = "../librustc_errors", package = "rustc_errors" }
rustc_error_codes = { path = "../librustc_error_codes" }
2 changes: 1 addition & 1 deletion src/librustc_plugin_impl/Cargo.toml
Expand Up @@ -14,5 +14,5 @@ doctest = false
rustc = { path = "../librustc" }
rustc_metadata = { path = "../librustc_metadata" }
syntax = { path = "../libsyntax" }
syntax_pos = { path = "../libsyntax_pos" }
syntax_pos = { path = "../librustc_span", package = "rustc_span" }
rustc_error_codes = { path = "../librustc_error_codes" }
2 changes: 1 addition & 1 deletion src/librustc_privacy/Cargo.toml
Expand Up @@ -12,7 +12,7 @@ path = "lib.rs"
rustc = { path = "../librustc" }
rustc_typeck = { path = "../librustc_typeck" }
syntax = { path = "../libsyntax" }
syntax_pos = { path = "../libsyntax_pos" }
syntax_pos = { path = "../librustc_span", package = "rustc_span" }
rustc_data_structures = { path = "../librustc_data_structures" }
rustc_error_codes = { path = "../librustc_error_codes" }
log = "0.4"
4 changes: 2 additions & 2 deletions src/librustc_resolve/Cargo.toml
Expand Up @@ -14,11 +14,11 @@ doctest = false
bitflags = "1.2.1"
log = "0.4"
syntax = { path = "../libsyntax" }
syntax_expand = { path = "../libsyntax_expand" }
syntax_expand = { path = "../librustc_expand", package = "rustc_expand" }
rustc = { path = "../librustc" }
arena = { path = "../libarena" }
errors = { path = "../librustc_errors", package = "rustc_errors" }
syntax_pos = { path = "../libsyntax_pos" }
syntax_pos = { path = "../librustc_span", package = "rustc_span" }
rustc_data_structures = { path = "../librustc_data_structures" }
rustc_feature = { path = "../librustc_feature" }
rustc_metadata = { path = "../librustc_metadata" }
Expand Down
2 changes: 1 addition & 1 deletion src/librustc_save_analysis/Cargo.toml
Expand Up @@ -16,6 +16,6 @@ rustc_codegen_utils = { path = "../librustc_codegen_utils" }
rustc_parse = { path = "../librustc_parse" }
serde_json = "1"
syntax = { path = "../libsyntax" }
syntax_pos = { path = "../libsyntax_pos" }
syntax_pos = { path = "../librustc_span", package = "rustc_span" }
rls-data = "0.19"
rls-span = "0.5"
2 changes: 1 addition & 1 deletion src/librustc_session/Cargo.toml
Expand Up @@ -15,7 +15,7 @@ rustc_feature = { path = "../librustc_feature" }
rustc_target = { path = "../librustc_target" }
rustc_serialize = { path = "../libserialize", package = "serialize" }
rustc_data_structures = { path = "../librustc_data_structures" }
syntax_pos = { path = "../libsyntax_pos" }
syntax_pos = { path = "../librustc_span", package = "rustc_span" }
rustc_index = { path = "../librustc_index" }
rustc_fs_util = { path = "../librustc_fs_util" }
num_cpus = "1.0"
4 changes: 2 additions & 2 deletions src/librustc_span/Cargo.toml
@@ -1,11 +1,11 @@
[package]
authors = ["The Rust Project Developers"]
name = "syntax_pos"
name = "rustc_span"
version = "0.0.0"
edition = "2018"

[lib]
name = "syntax_pos"
name = "rustc_span"
path = "lib.rs"
doctest = false

Expand Down
2 changes: 1 addition & 1 deletion src/librustc_target/Cargo.toml
Expand Up @@ -14,5 +14,5 @@ log = "0.4"
rustc_data_structures = { path = "../librustc_data_structures" }
rustc_macros = { path = "../librustc_macros" }
rustc_serialize = { path = "../libserialize", package = "serialize" }
syntax_pos = { path = "../libsyntax_pos" }
syntax_pos = { path = "../librustc_span", package = "rustc_span" }
rustc_index = { path = "../librustc_index" }
2 changes: 1 addition & 1 deletion src/librustc_traits/Cargo.toml
Expand Up @@ -15,6 +15,6 @@ rustc_data_structures = { path = "../librustc_data_structures" }
rustc_macros = { path = "../librustc_macros" }
rustc_target = { path = "../librustc_target" }
syntax = { path = "../libsyntax" }
syntax_pos = { path = "../libsyntax_pos" }
syntax_pos = { path = "../librustc_span", package = "rustc_span" }
chalk-engine = { version = "0.9.0", default-features=false }
smallvec = { version = "1.0", features = ["union", "may_dangle"] }
2 changes: 1 addition & 1 deletion src/librustc_typeck/Cargo.toml
Expand Up @@ -19,6 +19,6 @@ errors = { path = "../librustc_errors", package = "rustc_errors" }
rustc_target = { path = "../librustc_target" }
smallvec = { version = "1.0", features = ["union", "may_dangle"] }
syntax = { path = "../libsyntax" }
syntax_pos = { path = "../libsyntax_pos" }
syntax_pos = { path = "../librustc_span", package = "rustc_span" }
rustc_index = { path = "../librustc_index" }
rustc_error_codes = { path = "../librustc_error_codes" }
4 changes: 2 additions & 2 deletions src/librustdoc/lib.rs
Expand Up @@ -25,6 +25,7 @@ extern crate rustc;
extern crate rustc_data_structures;
extern crate rustc_driver;
extern crate rustc_error_codes;
extern crate rustc_expand as syntax_expand;
extern crate rustc_feature;
extern crate rustc_index;
extern crate rustc_interface;
Expand All @@ -33,11 +34,10 @@ extern crate rustc_lint;
extern crate rustc_metadata;
extern crate rustc_parse;
extern crate rustc_resolve;
extern crate rustc_span as syntax_pos;
extern crate rustc_target;
extern crate rustc_typeck;
extern crate syntax;
extern crate syntax_expand;
extern crate syntax_pos;
extern crate test as testing;
#[macro_use]
extern crate log;
Expand Down
2 changes: 1 addition & 1 deletion src/libsyntax/Cargo.toml
Expand Up @@ -15,7 +15,7 @@ rustc_serialize = { path = "../libserialize", package = "serialize" }
log = "0.4"
scoped-tls = "1.0"
lazy_static = "1.0.0"
syntax_pos = { path = "../libsyntax_pos" }
syntax_pos = { path = "../librustc_span", package = "rustc_span" }
errors = { path = "../librustc_errors", package = "rustc_errors" }
rustc_data_structures = { path = "../librustc_data_structures" }
rustc_feature = { path = "../librustc_feature" }
Expand Down

0 comments on commit b9a9c5b

Please sign in to comment.