rust/tests/ui/recursion_limit/overflow.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

10 lines
275 B
Rust
Raw Normal View History

2019-12-12 22:18:21 -06:00
// 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
2019-12-12 22:18:21 -06:00
fn main() {}