2015-07-20 01:23:46 -04:00
|
|
|
// aux-build:rustdoc-impl-parts-crosscrate.rs
|
|
|
|
// ignore-cross-compile
|
|
|
|
|
2020-01-09 05:56:38 -05:00
|
|
|
#![feature(negative_impls)]
|
2015-07-20 01:23:46 -04:00
|
|
|
|
|
|
|
extern crate rustdoc_impl_parts_crosscrate;
|
|
|
|
|
|
|
|
pub struct Bar<T> { t: T }
|
|
|
|
|
2018-02-16 15:56:50 +01:00
|
|
|
// The output file is html embedded in javascript, so the html tags
|
2015-07-20 01:23:46 -04:00
|
|
|
// aren't stripped by the processing script and we can't check for the
|
|
|
|
// full impl string. Instead, just make sure something from each part
|
|
|
|
// is mentioned.
|
|
|
|
|
2022-08-10 13:13:18 -07:00
|
|
|
// @hasraw implementors/rustdoc_impl_parts_crosscrate/trait.AnAutoTrait.js Bar
|
|
|
|
// @hasraw - Send
|
|
|
|
// @hasraw - !AnAutoTrait
|
|
|
|
// @hasraw - Copy
|
2020-11-24 15:44:04 -08:00
|
|
|
impl<T: Send> !rustdoc_impl_parts_crosscrate::AnAutoTrait for Bar<T>
|
2015-07-20 01:23:46 -04:00
|
|
|
where T: Copy {}
|