mirror of
https://github.com/rust-lang/rust
synced 2024-09-06 01:11:17 +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() {}
|