diff --git a/compiler/rustc_borrowck/Cargo.toml b/compiler/rustc_borrowck/Cargo.toml index 543631de2dc..c683c388ba9 100644 --- a/compiler/rustc_borrowck/Cargo.toml +++ b/compiler/rustc_borrowck/Cargo.toml @@ -1,5 +1,4 @@ [package] -authors = ["The Rust Project Developers"] name = "rustc_borrowck" version = "0.0.0" edition = "2018" diff --git a/compiler/rustc_borrowck/src/lib.rs b/compiler/rustc_borrowck/src/lib.rs index c1aa4df9924..4e4b8a953cd 100644 --- a/compiler/rustc_borrowck/src/lib.rs +++ b/compiler/rustc_borrowck/src/lib.rs @@ -11,6 +11,7 @@ #![feature(stmt_expr_attributes)] #![feature(trusted_step)] #![feature(try_blocks)] +#![recursion_limit = "256"] #[macro_use] extern crate rustc_middle; diff --git a/compiler/rustc_const_eval/src/lib.rs b/compiler/rustc_const_eval/src/lib.rs index c24c9a9b5ee..0aa2dfb010f 100644 --- a/compiler/rustc_const_eval/src/lib.rs +++ b/compiler/rustc_const_eval/src/lib.rs @@ -23,6 +23,7 @@ #![feature(trusted_len)] #![feature(trusted_step)] #![feature(try_blocks)] +#![recursion_limit = "256"] #[macro_use] extern crate tracing; diff --git a/compiler/rustc_mir_dataflow/Cargo.toml b/compiler/rustc_mir_dataflow/Cargo.toml index adc3882f843..3cd4892402e 100644 --- a/compiler/rustc_mir_dataflow/Cargo.toml +++ b/compiler/rustc_mir_dataflow/Cargo.toml @@ -1,5 +1,4 @@ [package] -authors = ["The Rust Project Developers"] name = "rustc_mir_dataflow" version = "0.0.0" edition = "2018" diff --git a/compiler/rustc_mir_dataflow/src/lib.rs b/compiler/rustc_mir_dataflow/src/lib.rs index 282ea8db1bb..bfae09b7760 100644 --- a/compiler/rustc_mir_dataflow/src/lib.rs +++ b/compiler/rustc_mir_dataflow/src/lib.rs @@ -10,6 +10,7 @@ #![feature(once_cell)] #![feature(stmt_expr_attributes)] #![feature(trusted_step)] +#![recursion_limit = "256"] #[macro_use] extern crate tracing; diff --git a/compiler/rustc_mir_transform/Cargo.toml b/compiler/rustc_mir_transform/Cargo.toml index 7956bf8ffcf..5e1a587b0ec 100644 --- a/compiler/rustc_mir_transform/Cargo.toml +++ b/compiler/rustc_mir_transform/Cargo.toml @@ -1,5 +1,4 @@ [package] -authors = ["The Rust Project Developers"] name = "rustc_mir_transform" version = "0.0.0" edition = "2018" diff --git a/compiler/rustc_mir_transform/src/lib.rs b/compiler/rustc_mir_transform/src/lib.rs index 771c3ed72db..22abce65a4b 100644 --- a/compiler/rustc_mir_transform/src/lib.rs +++ b/compiler/rustc_mir_transform/src/lib.rs @@ -1,4 +1,4 @@ -#![feature(bindings_after_at)] +#![cfg_attr(bootstrap, feature(bindings_after_at))] #![feature(box_patterns)] #![feature(box_syntax)] #![feature(crate_visibility_modifier)] @@ -12,6 +12,7 @@ #![feature(never_type)] #![feature(trusted_step)] #![feature(try_blocks)] +#![recursion_limit = "256"] #[macro_use] extern crate tracing; diff --git a/compiler/rustc_monomorphize/Cargo.toml b/compiler/rustc_monomorphize/Cargo.toml index 93a964bf3cc..350ae088777 100644 --- a/compiler/rustc_monomorphize/Cargo.toml +++ b/compiler/rustc_monomorphize/Cargo.toml @@ -1,5 +1,4 @@ [package] -authors = ["The Rust Project Developers"] name = "rustc_monomorphize" version = "0.0.0" edition = "2018" diff --git a/compiler/rustc_monomorphize/src/lib.rs b/compiler/rustc_monomorphize/src/lib.rs index 2a40eeac5bd..08b1d7b7fab 100644 --- a/compiler/rustc_monomorphize/src/lib.rs +++ b/compiler/rustc_monomorphize/src/lib.rs @@ -3,6 +3,7 @@ #![feature(crate_visibility_modifier)] #![feature(control_flow_enum)] #![feature(in_band_lifetimes)] +#![recursion_limit = "256"] #[macro_use] extern crate tracing;