]> git.lizzy.rs Git - rust.git/blob - src/test/rustdoc/empty-section.rs
Merge commit '6ed6f1e6a1a8f414ba7e6d9b8222e7e5a1686e42' into clippyup
[rust.git] / src / test / rustdoc / empty-section.rs
1 #![crate_name = "foo"]
2
3 #![feature(negative_impls)]
4
5 pub struct Foo;
6
7 // @has foo/struct.Foo.html
8 // @!has - 'Auto Trait Implementations'
9 impl !Send for Foo {}
10 impl !Sync for Foo {}
11 impl !std::marker::Unpin for Foo {}
12 impl !std::panic::RefUnwindSafe for Foo {}
13 impl !std::panic::UnwindSafe for Foo {}