Files
rust/tests/ui/recursion_limit/empty.rs

10 lines
468 B
Rust
Raw Normal View History

2019-12-12 21:18:21 -07:00
// Test the parse error for an empty recursion_limit
#![recursion_limit = ""] //~ ERROR `limit` must be a non-negative integer
//~| NOTE `limit` must be a non-negative integer
//~| ERROR `limit` must be a non-negative integer
//~| NOTE `limit` must be a non-negative integer
//~| NOTE duplicate diagnostic emitted due to `-Z deduplicate-diagnostics=no`
2019-12-12 21:18:21 -07:00
fn main() {}