blob: 7cd1d572e09718c6b71ee61fd4934f2e722a3c0a (
plain)
1
2
3
4
5
6
7
8
9
10
|
// 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
//~| ERROR `limit` must be a non-negative integer
//~| NOTE `limit` is too large
//~| NOTE duplicate diagnostic emitted due to `-Z deduplicate-diagnostics=no`
fn main() {}
|