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