]> git.lizzy.rs Git - rust.git/blob - src/test/rustdoc/auto-trait-not-send.rs
Merge commit 'd9ddce8a223cb9916389c039777b6966ea448dc8' into clippyup
[rust.git] / src / test / rustdoc / auto-trait-not-send.rs
1 #![crate_name = "foo"]
2
3 // @has 'foo/struct.Foo.html'
4 // @has - '//*[@id="impl-Send"]' 'impl !Send for Foo'
5 // @has - '//*[@id="impl-Sync"]' 'impl !Sync for Foo'
6 pub struct Foo(*const i8);
7 pub trait Whatever: Send {}
8 impl<T: Send + ?Sized> Whatever for T {}