blob: 79d8f3708bac6e7a41cd1358633cc577a6634d80 (
plain)
1
2
3
4
5
6
7
8
|
// Test the parse error for an invalid digit in recursion_limit
#![recursion_limit = "-100"] //~ ERROR `limit` must be a non-negative integer
//~| NOTE not a valid integer
//~| ERROR `limit` must be a non-negative integer
//~| NOTE not a valid integer
//~| NOTE duplicate diagnostic emitted due to `-Z deduplicate-diagnostics=no`
fn main() {}
|