rust/tests/rustdoc-ui/issues/issue-106213.rs

8 lines
171 B
Rust

// compile-flags: --document-private-items
// edition:2021
fn use_avx() -> dyn {
//~^ ERROR at least one trait is required for an object type
!( ident_error )
}