mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-27 01:04:03 +00:00
10 lines
275 B
Rust
10 lines
275 B
Rust
// Test the parse error for an overflowing recursion_limit
|
|
|
|
#![recursion_limit = "999999999999999999999999"]
|
|
//~^ ERROR `limit` must be a non-negative integer
|
|
//~| `limit` is too large
|
|
//~| ERROR `limit` must be a non-negative integer
|
|
//~| `limit` is too large
|
|
|
|
fn main() {}
|