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-13 04:18:21 +00: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-13 04:18:21 +00:00
fn main() {}