mirror of
https://github.com/allankoechke/rust.git
synced 2026-12-03 17:48:43 +00:00
* Move dyn-drop to dyn-keyword * Reorganize `tests/ui/empty` into specific dirs remove tests/ui/empty/empty-linkname.rs duplicate of tests/ui/error-codes/E0454.rs * Move `missing-trait-bounds` to `trait-bound/missing-trait-bounds` * bless traits/missing-trait-bounds tests * Move `recursion_limit` to `recursion/recursion_limit` * Move `version` to `compile-flags`
7 lines
187 B
Rust
7 lines
187 B
Rust
// Test the parse error for an invalid digit in recursion_limit
|
|
|
|
#![recursion_limit = "-100"]
|
|
//~^ ERROR `limit` must be a non-negative integer
|
|
//~| NOTE not a valid integer
|
|
fn main() {}
|