mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-18 11:34:11 +00:00
11 lines
206 B
Rust
11 lines
206 B
Rust
// compile-flags: --test
|
|
|
|
#![feature(custom_test_frameworks)]
|
|
#![deny(unnameable_test_items)]
|
|
|
|
fn foo() {
|
|
#[test_case]
|
|
//~^ ERROR cannot test inner items [unnameable_test_items]
|
|
fn test2() {}
|
|
}
|