2020-01-09 10:56:38 +00:00
|
|
|
#![feature(negative_impls)]
|
2015-01-21 04:35:57 +00:00
|
|
|
|
2015-04-06 20:49:30 +00:00
|
|
|
// @matches negative_impl/struct.Alpha.html '//pre' "pub struct Alpha"
|
2015-01-21 04:35:57 +00:00
|
|
|
pub struct Alpha;
|
2015-04-06 20:49:30 +00:00
|
|
|
// @matches negative_impl/struct.Bravo.html '//pre' "pub struct Bravo<B>"
|
2015-02-12 15:29:52 +00:00
|
|
|
pub struct Bravo<B>(B);
|
2015-01-21 04:35:57 +00:00
|
|
|
|
2023-01-28 23:35:02 +00:00
|
|
|
// @matches negative_impl/struct.Alpha.html '//*[@class="impl"]//h3[@class="code-header"]' \
|
2021-06-02 08:59:10 +00:00
|
|
|
// "impl !Send for Alpha"
|
2015-01-21 04:35:57 +00:00
|
|
|
impl !Send for Alpha {}
|
|
|
|
|
2023-01-28 23:35:02 +00:00
|
|
|
// @matches negative_impl/struct.Bravo.html '//*[@class="impl"]//h3[@class="code-header"]' "\
|
2021-06-02 08:59:10 +00:00
|
|
|
// impl<B> !Send for Bravo<B>"
|
2015-01-21 04:35:57 +00:00
|
|
|
impl<B> !Send for Bravo<B> {}
|