about summary refs log tree commit diff
path: root/tests/ui/recursion_limit/overflow.rs
blob: 24cb8e286a895414fd654637681c8d25f82f0bed (plain)
1
2
3
4
5
6
7
// Test the parse error for an overflowing recursion_limit

#![recursion_limit = "999999999999999999999999"]
//~^ ERROR `limit` must be a non-negative integer
//~| NOTE `limit` is too large

fn main() {}