]> git.lizzy.rs Git - rust.git/blob - tests/rustdoc/impl-parts-crosscrate.rs
Auto merge of #107618 - chriswailes:linker-arg, r=albertlarsan68
[rust.git] / tests / rustdoc / impl-parts-crosscrate.rs
1 // aux-build:rustdoc-impl-parts-crosscrate.rs
2 // ignore-cross-compile
3
4 #![feature(negative_impls)]
5
6 extern crate rustdoc_impl_parts_crosscrate;
7
8 pub struct Bar<T> { t: T }
9
10 // The output file is html embedded in javascript, so the html tags
11 // aren't stripped by the processing script and we can't check for the
12 // full impl string.  Instead, just make sure something from each part
13 // is mentioned.
14
15 // @hasraw implementors/rustdoc_impl_parts_crosscrate/trait.AnAutoTrait.js Bar
16 // @hasraw - Send
17 // @hasraw - !AnAutoTrait
18 // @hasraw - Copy
19 impl<T: Send> !rustdoc_impl_parts_crosscrate::AnAutoTrait for Bar<T>
20     where T: Copy {}