diff options
Diffstat (limited to 'src/test/run-make/rustdoc-negative-impl/foo.rs')
| -rw-r--r-- | src/test/run-make/rustdoc-negative-impl/foo.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/run-make/rustdoc-negative-impl/foo.rs b/src/test/run-make/rustdoc-negative-impl/foo.rs index eaa3af86563..b5fcbf46c5c 100644 --- a/src/test/run-make/rustdoc-negative-impl/foo.rs +++ b/src/test/run-make/rustdoc-negative-impl/foo.rs @@ -15,8 +15,8 @@ pub struct Alpha; // @matches foo/struct.Bravo.html '//pre' "pub struct Bravo<B>" pub struct Bravo<B>; -// @matches foo/struct.Alpha.html '//*[@class="impl"]//code' "impl !.*Send.* for .*Alpha" +// @matches foo/struct.Alpha.html '//*[@class="impl"]//code' "impl !Send for Alpha" impl !Send for Alpha {} -// @matches foo/struct.Bravo.html '//*[@class="impl"]//code' "impl<B> !.*Send.* for .*Bravo.*<B>" +// @matches foo/struct.Bravo.html '//*[@class="impl"]//code' "impl<B> !Send for Bravo<B>" impl<B> !Send for Bravo<B> {} |
