rust/tests/ui/recursion_limit/invalid_digit.rs
2023-01-11 09:32:08 +00:00

8 lines
343 B
Rust

// Test the parse error for an invalid digit in recursion_limit
#![recursion_limit = "-100"] //~ ERROR `limit` must be a non-negative integer
//~| not a valid integer
//~| ERROR `limit` must be a non-negative integer
//~| not a valid integer
fn main() {}