about summary refs log tree commit diff
path: root/src/test/rustdoc/empty-section.rs
blob: d95f3a80365cd32afd3726a71a0f5d7aee3cdd1f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#![crate_name = "foo"]

#![feature(optin_builtin_traits)]

pub struct Foo;

// @has foo/struct.Foo.html
// @!has - '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 {}