rust/src/test/ui/recursion_limit/invalid_digit.rs

7 lines
211 B
Rust
Raw Normal View History

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