mirror of
https://github.com/rust-lang/rust.git
synced 2025-10-03 18:57:19 +00:00
11 lines
363 B
Rust
11 lines
363 B
Rust
// Test the parse error for an overflowing recursion_limit
|
|
|
|
#![recursion_limit = "999999999999999999999999"]
|
|
//~^ ERROR `limit` must be a non-negative integer
|
|
//~| NOTE `limit` is too large
|
|
//~| ERROR `limit` must be a non-negative integer
|
|
//~| NOTE `limit` is too large
|
|
//~| NOTE duplicate diagnostic emitted due to `-Z deduplicate-diagnostics=no`
|
|
|
|
fn main() {}
|