Move tests into appropriate subdirectories

This commit is contained in:
Michael Howell 2024-05-21 21:21:26 -07:00
parent 55bd054a21
commit b5923a95a8
13 changed files with 5 additions and 4 deletions

View File

@ -1,3 +1,4 @@
//@ check-pass
//@ compile-flags: --document-private-items
// This ensures that no ICE is triggered when rustdoc is run on this code.

View File

@ -1,4 +1,4 @@
//@ aux-build:issue-98697-reexport-with-anonymous-lifetime.rs
//@ aux-build:reexport-with-anonymous-lifetime-98697.rs
//@ ignore-cross-compile
#![crate_name = "foo"]
@ -7,12 +7,12 @@
//
// https://github.com/rust-lang/rust/issues/98697
extern crate issue_98697_reexport_with_anonymous_lifetime;
extern crate reexport_with_anonymous_lifetime_98697;
// @has foo/fn.repro.html '//pre[@class="rust item-decl"]/code' 'fn repro<F>()where F: Fn(&str)'
// @!has foo/fn.repro.html '//pre[@class="rust item-decl"]/code' 'for<'
pub use issue_98697_reexport_with_anonymous_lifetime::repro;
pub use reexport_with_anonymous_lifetime_98697::repro;
// @has foo/struct.Extra.html '//div[@id="trait-implementations-list"]//h3[@class="code-header"]' 'impl MyTrait<&Extra> for Extra'
// @!has foo/struct.Extra.html '//div[@id="trait-implementations-list"]//h3[@class="code-header"]' 'impl<'
pub use issue_98697_reexport_with_anonymous_lifetime::Extra;
pub use reexport_with_anonymous_lifetime_98697::Extra;