Part of #87059 Partially reverts #84703 Preview at: https://notriddle.com/notriddle-rustdoc-test/real-headers/std/index.html
14 lines
556 B
Rust
14 lines
556 B
Rust
#![feature(negative_impls)]
|
|
|
|
// @matches negative_impl/struct.Alpha.html '//pre' "pub struct Alpha"
|
|
pub struct Alpha;
|
|
// @matches negative_impl/struct.Bravo.html '//pre' "pub struct Bravo<B>"
|
|
pub struct Bravo<B>(B);
|
|
|
|
// @matches negative_impl/struct.Alpha.html '//*[@class="impl has-srclink"]//h3[@class="code-header in-band"]' \
|
|
// "impl !Send for Alpha"
|
|
impl !Send for Alpha {}
|
|
|
|
// @matches negative_impl/struct.Bravo.html '//*[@class="impl has-srclink"]//h3[@class="code-header in-band"]' "\
|
|
// impl<B> !Send for Bravo<B>"
|
|
impl<B> !Send for Bravo<B> {}
|