mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-02 15:32:06 +00:00
Fix redirect.rs test
Struct names are no longer encapsulated in `<code>` tags, which meant that the test was not correctly verifying that it wasn't being show. I've also added a check to make sure the documentation page for the redirect::Qux struct is not generated at all.
This commit is contained in:
parent
5f8dc0ddf4
commit
a9a26de8b3
@ -43,6 +43,7 @@ mod private_no_inline {
|
||||
|
||||
// @has redirect/index.html
|
||||
// @has - '//code' 'pub use private_no_inline::Qux'
|
||||
// @!has - '//code/a' 'Qux'
|
||||
// @!has - '//a' 'Qux'
|
||||
// @!has redirect/struct.Qux.html
|
||||
#[doc(no_inline)]
|
||||
pub use private_no_inline::Qux;
|
||||
|
Loading…
Reference in New Issue
Block a user