rust/tests/rustdoc/empty-section.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

14 lines
362 B
Rust
Raw Normal View History

#![crate_name = "foo"]
2024-02-23 19:53:25 +08:00
#![feature(negative_impls, freeze_impls, freeze)]
pub struct Foo;
// @has foo/struct.Foo.html
2022-08-12 12:44:07 +08:00
// @!hasraw - 'Auto Trait Implementations'
impl !Send for Foo {}
impl !Sync for Foo {}
2024-02-23 19:53:25 +08:00
impl !std::marker::Freeze for Foo {}
impl !std::marker::Unpin for Foo {}
impl !std::panic::RefUnwindSafe for Foo {}
impl !std::panic::UnwindSafe for Foo {}