]> git.lizzy.rs Git - rust.git/blob - tests/rustdoc/empty-section.rs
Auto merge of #107843 - bjorn3:sync_cg_clif-2023-02-09, r=bjorn3
[rust.git] / tests / 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 // @!hasraw - '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 {}