rust/tests/rustdoc/empty-section.rs
2023-01-11 09:32:08 +00:00

14 lines
304 B
Rust

#![crate_name = "foo"]
#![feature(negative_impls)]
pub struct Foo;
// @has foo/struct.Foo.html
// @!hasraw - 'Auto Trait Implementations'
impl !Send for Foo {}
impl !Sync for Foo {}
impl !std::marker::Unpin for Foo {}
impl !std::panic::RefUnwindSafe for Foo {}
impl !std::panic::UnwindSafe for Foo {}