mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-23 07:14:28 +00:00
14 lines
362 B
Rust
14 lines
362 B
Rust
#![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 {}
|