rust/src/test/ui/recursion_limit/empty.rs
Christoph Schmidler 527456e219 Bumped version number for const_eval_limit in active.rs
and renamed 'recursion_limit' in limits.rs to simple 'limit' because it does handle other limits too.
2020-03-05 08:10:39 +01:00

6 lines
211 B
Rust

// Test the parse error for an empty recursion_limit
#![recursion_limit = ""] //~ ERROR `limit` must be a non-negative integer
//~| `limit` must be a non-negative integer
fn main() {}