summary refs log tree commit diff
path: root/tests/ui/recursion_limit/empty.rs
blob: 5987fa2f881c2e69f836afcbf279db737e07d442 (plain)
1
2
3
4
5
6
7
8
9
// 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`

fn main() {}