1
Fork 0

Update tests/rustdoc to new test syntax

This commit is contained in:
Guillaume Gomez 2024-06-21 14:03:08 +02:00
parent d3ec92e16e
commit 1b67035579
627 changed files with 4376 additions and 4376 deletions

View file

@ -4,13 +4,13 @@
#![allow(incomplete_features)]
#![crate_name = "foo"]
// @has 'foo/struct.Foo.html'
//@ has 'foo/struct.Foo.html'
pub struct Foo;
// There are 3 impl blocks with public item and one that should not be displayed
// by default because it only contains private items (but not in this case because
// we used `--document-private-items`).
// @count - '//*[@class="impl"]' 'impl Foo' 4
//@ count - '//*[@class="impl"]' 'impl Foo' 4
// Impl block only containing private items should not be displayed unless the
// `--document-private-items` flag is used.