mirror of
https://github.com/rust-lang/rust.git
synced 2025-10-03 02:40:40 +00:00
9 lines
460 B
Rust
9 lines
460 B
Rust
// 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() {}
|