2015-07-20 00:23:46 -05:00
|
|
|
//@ aux-build:rustdoc-impl-parts-crosscrate.rs
|
|
|
|
//@ ignore-cross-compile
|
|
|
|
|
2020-01-09 04:56:38 -06:00
|
|
|
#![feature(negative_impls)]
|
2015-07-20 00:23:46 -05:00
|
|
|
|
|
|
|
extern crate rustdoc_impl_parts_crosscrate;
|
|
|
|
|
|
|
|
pub struct Bar<T> { t: T }
|
|
|
|
|
2018-02-16 08:56:50 -06:00
|
|
|
// The output file is html embedded in javascript, so the html tags
|
2015-07-20 00:23:46 -05: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.
|
|
|
|
|
2024-06-21 07:03:08 -05:00
|
|
|
//@ hasraw trait.impl/rustdoc_impl_parts_crosscrate/trait.AnAutoTrait.js Bar
|
|
|
|
//@ hasraw - Send
|
|
|
|
//@ hasraw - !AnAutoTrait
|
|
|
|
//@ hasraw - Copy
|
2020-11-24 17:44:04 -06:00
|
|
|
impl<T: Send> !rustdoc_impl_parts_crosscrate::AnAutoTrait for Bar<T>
|
2015-07-20 00:23:46 -05:00
|
|
|
where T: Copy {}
|