rust/tests/ui/recursion_limit/invalid_digit.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

8 lines
343 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
//~| ERROR `limit` must be a non-negative integer
//~| not a valid integer
2019-12-13 04:18:21 +00:00
fn main() {}