1 #![feature(negative_impls)]
3 // @matches negative_impl/struct.Alpha.html '//pre' "pub struct Alpha"
5 // @matches negative_impl/struct.Bravo.html '//pre' "pub struct Bravo<B>"
6 pub struct Bravo<B>(B);
8 // @matches negative_impl/struct.Alpha.html '//*[@class="impl has-srclink"]//h3[@class="code-header in-band"]' \
9 // "impl !Send for Alpha"
10 impl !Send for Alpha {}
12 // @matches negative_impl/struct.Bravo.html '//*[@class="impl has-srclink"]//h3[@class="code-header in-band"]' "\
13 // impl<B> !Send for Bravo<B>"
14 impl<B> !Send for Bravo<B> {}