1 // aux-build:rustdoc-impl-parts-crosscrate.rs
2 // ignore-cross-compile
4 #![feature(negative_impls)]
6 extern crate rustdoc_impl_parts_crosscrate;
8 pub struct Bar<T> { t: T }
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
15 // @hasraw implementors/rustdoc_impl_parts_crosscrate/trait.AnAutoTrait.js Bar
17 // @hasraw - !AnAutoTrait
19 impl<T: Send> !rustdoc_impl_parts_crosscrate::AnAutoTrait for Bar<T>