]> git.proxmox.com Git - rustc.git/blame - src/test/rustdoc/impl-parts-crosscrate.rs
Update upstream source from tag 'upstream/1.60.0+dfsg1'
[rustc.git] / src / test / rustdoc / impl-parts-crosscrate.rs
CommitLineData
c1a9b12d
SL
1// aux-build:rustdoc-impl-parts-crosscrate.rs
2// ignore-cross-compile
3
ba9703b0 4#![feature(negative_impls)]
c1a9b12d
SL
5
6extern crate rustdoc_impl_parts_crosscrate;
7
8pub 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 19impl<T: Send> !rustdoc_impl_parts_crosscrate::AnAutoTrait for Bar<T>
c1a9b12d 20 where T: Copy {}