rust/tests/ui/recursion_limit/overflow.rs
2023-01-11 09:32:08 +00:00

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() {}