2018-03-09 22:18:08 +01:00
|
|
|
#![crate_name = "foo"]
|
|
|
|
|
2020-01-09 05:56:38 -05:00
|
|
|
#![feature(negative_impls)]
|
2018-03-09 22:18:08 +01:00
|
|
|
|
|
|
|
pub struct Foo;
|
|
|
|
|
|
|
|
// @has foo/struct.Foo.html
|
2022-08-12 00:44:07 -04:00
|
|
|
// @!hasraw - 'Auto Trait Implementations'
|
2018-03-09 22:18:08 +01:00
|
|
|
impl !Send for Foo {}
|
|
|
|
impl !Sync for Foo {}
|
2019-04-26 01:16:57 +03:00
|
|
|
impl !std::marker::Unpin for Foo {}
|
|
|
|
impl !std::panic::RefUnwindSafe for Foo {}
|
|
|
|
impl !std::panic::UnwindSafe for Foo {}
|