mirror of
https://github.com/rust-lang/rust
synced 2024-11-05 20:45:15 +00:00
74e843c833
Stopped being used in CSS with
73d0f7c7b6
14 lines
516 B
Rust
14 lines
516 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"]//h3[@class="code-header"]' \
|
|
// "impl !Send for Alpha"
|
|
impl !Send for Alpha {}
|
|
|
|
// @matches negative_impl/struct.Bravo.html '//*[@class="impl"]//h3[@class="code-header"]' "\
|
|
// impl<B> !Send for Bravo<B>"
|
|
impl<B> !Send for Bravo<B> {}
|