]> git.proxmox.com Git - rustc.git/blame - tests/ui/test-attrs/custom-test-frameworks/issue-107454.rs
Merge 1.70 into proxmox/bookworm
[rustc.git] / tests / ui / test-attrs / custom-test-frameworks / issue-107454.rs
CommitLineData
353b0b11
FG
1// compile-flags: --test
2
3#![feature(custom_test_frameworks)]
4#![deny(unnameable_test_items)]
5
6fn foo() {
7 #[test_case]
8 //~^ ERROR cannot test inner items [unnameable_test_items]
9 fn test2() {}
10}