]>
Commit | Line | Data |
---|---|---|
c1a9b12d SL |
1 | // aux-build:rustdoc-impl-parts-crosscrate.rs |
2 | // ignore-cross-compile | |
3 | ||
ba9703b0 | 4 | #![feature(negative_impls)] |
c1a9b12d SL |
5 | |
6 | extern crate rustdoc_impl_parts_crosscrate; | |
7 | ||
8 | pub struct Bar<T> { t: T } | |
9 | ||
0531ce1d | 10 | // The output file is html embedded in javascript, so the html tags |
c1a9b12d SL |
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 | ||
fc512014 | 15 | // @has implementors/rustdoc_impl_parts_crosscrate/trait.AnAutoTrait.js Bar |
c1a9b12d | 16 | // @has - Send |
fc512014 | 17 | // @has - !AnAutoTrait |
c1a9b12d | 18 | // @has - Copy |
fc512014 | 19 | impl<T: Send> !rustdoc_impl_parts_crosscrate::AnAutoTrait for Bar<T> |
c1a9b12d | 20 | where T: Copy {} |