]> git.lizzy.rs Git - rust.git/blob - src/test/ui/recursion_limit/overflow.rs
Rollup merge of #70038 - DutchGhost:const-forget-tests, r=RalfJung
[rust.git] / src / test / ui / recursion_limit / overflow.rs
1 // Test the parse error for an overflowing recursion_limit
2
3 #![recursion_limit = "999999999999999999999999"]
4 //~^ ERROR `limit` must be a non-negative integer
5 //~| `limit` is too large
6
7 fn main() {}