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