summaryrefslogtreecommitdiffstats
path: root/tests/ui/recursion_limit/overflow.rs
blob: c733ba6b93ce55f943c9237a9426c5772271b49c (plain)
1
2
3
4
5
6
7
8
9
// 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() {}