Skip to content

Commit 0c4d551

Browse files
committed
Fix recursion limits
1 parent ddab10a commit 0c4d551

File tree

6 files changed

+12
-0
lines changed

6 files changed

+12
-0
lines changed

src/librustc_codegen_ssa/lib.rs

+2
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,8 @@
2424
#![allow(dead_code)]
2525
#![feature(quote)]
2626

27+
#![recursion_limit="256"]
28+
2729
//! This crate contains codegen code that is used by all codegen backends (LLVM and others).
2830
//! The backend-agnostic functions of this crate use functions defined in various traits that
2931
//! have to be implemented by each backends.

src/librustc_lint/lib.rs

+2
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,8 @@
3030
#![feature(quote)]
3131
#![feature(rustc_diagnostic_macros)]
3232

33+
#![recursion_limit="256"]
34+
3335
#[macro_use]
3436
extern crate syntax;
3537
#[macro_use]

src/librustc_passes/lib.rs

+2
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@
2121
#![feature(nll)]
2222
#![feature(rustc_diagnostic_macros)]
2323

24+
#![recursion_limit="256"]
25+
2426
#[macro_use]
2527
extern crate rustc;
2628
extern crate rustc_mir;

src/librustc_plugin/lib.rs

+2
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,8 @@
6767
#![feature(nll)]
6868
#![feature(rustc_diagnostic_macros)]
6969

70+
#![recursion_limit="256"]
71+
7072
#[macro_use] extern crate syntax;
7173

7274
extern crate rustc;

src/librustc_resolve/lib.rs

+2
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@
1818
#![feature(rustc_diagnostic_macros)]
1919
#![feature(slice_sort_by_cached_key)]
2020

21+
#![recursion_limit="256"]
22+
2123
#[macro_use]
2224
extern crate bitflags;
2325
#[macro_use]

src/libsyntax_ext/lib.rs

+2
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,8 @@
2424
#![feature(quote)]
2525
#![feature(rustc_diagnostic_macros)]
2626

27+
#![recursion_limit="256"]
28+
2729
extern crate fmt_macros;
2830
#[macro_use]
2931
extern crate syntax;

0 commit comments

Comments
 (0)