Skip to content

Commit b5923a9

Browse files
committed
Move tests into appropriate subdirectories
1 parent 55bd054 commit b5923a9

13 files changed

+5
-4
lines changed

tests/rustdoc/pub-use-primitive-document-private-items-95633.rs tests/rustdoc-ui/pub-use-primitive-document-private-items-95633.rs

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
//@ check-pass
12
//@ compile-flags: --document-private-items
23

34
// This ensures that no ICE is triggered when rustdoc is run on this code.
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//@ aux-build:issue-98697-reexport-with-anonymous-lifetime.rs
1+
//@ aux-build:reexport-with-anonymous-lifetime-98697.rs
22
//@ ignore-cross-compile
33
#![crate_name = "foo"]
44

@@ -7,12 +7,12 @@
77
//
88
// https://github.com/rust-lang/rust/issues/98697
99

10-
extern crate issue_98697_reexport_with_anonymous_lifetime;
10+
extern crate reexport_with_anonymous_lifetime_98697;
1111

1212
// @has foo/fn.repro.html '//pre[@class="rust item-decl"]/code' 'fn repro<F>()where F: Fn(&str)'
1313
// @!has foo/fn.repro.html '//pre[@class="rust item-decl"]/code' 'for<'
14-
pub use issue_98697_reexport_with_anonymous_lifetime::repro;
14+
pub use reexport_with_anonymous_lifetime_98697::repro;
1515

1616
// @has foo/struct.Extra.html '//div[@id="trait-implementations-list"]//h3[@class="code-header"]' 'impl MyTrait<&Extra> for Extra'
1717
// @!has foo/struct.Extra.html '//div[@id="trait-implementations-list"]//h3[@class="code-header"]' 'impl<'
18-
pub use issue_98697_reexport_with_anonymous_lifetime::Extra;
18+
pub use reexport_with_anonymous_lifetime_98697::Extra;

0 commit comments

Comments
 (0)