Sign in
android
/
toolchain
/
rustc
/
refs/heads/main
/
.
/
tests
/
ui
/
test-attrs
/
custom-test-frameworks
/
issue-107454.rs
blob: 8c20d464139e3d289b6c1c7c040554ce01b85d5d [
file
] [
log
] [
blame
]
//@ 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
()
{}
}