summary refs log tree commit diff
path: root/tests/rustdoc/empty-section.rs
blob: 71ebc66d69538d186217d8bb62d840af315df24c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#![crate_name = "foo"]
#![feature(negative_impls, freeze_impls, freeze)]

pub struct Foo;

//@ has foo/struct.Foo.html
//@ !hasraw - 'Auto Trait Implementations'
impl !Send for Foo {}
impl !Sync for Foo {}
impl !std::marker::Freeze for Foo {}
impl !std::marker::Unpin for Foo {}
impl !std::panic::RefUnwindSafe for Foo {}
impl !std::panic::UnwindSafe for Foo {}