summaryrefslogtreecommitdiffstats
path: root/tests/ui/recursion_limit/invalid_digit.rs
blob: 03df3e7a92713502cbad66fcce24333ef1ff1677 (plain)
1
2
3
4
5
6
7
// Test the parse error for an invalid digit in recursion_limit

#![recursion_limit = "-100"] //~ ERROR `limit` must be a non-negative integer
                             //~| not a valid integer
                             //~| ERROR `limit` must be a non-negative integer
                             //~| not a valid integer
fn main() {}