Skip to content

Commit

Permalink
Move tests into appropriate subdirectories
Browse files Browse the repository at this point in the history
  • Loading branch information
notriddle committed May 22, 2024
1 parent 55bd054 commit b5923a9
Show file tree
Hide file tree
Showing 13 changed files with 5 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -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"]

Expand All @@ -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;
File renamed without changes.

0 comments on commit b5923a9

Please sign in to comment.