Skip to content

Commit eab8c7d

Browse files
committed
Auto merge of #118105 - notriddle:master, r=fmease
rustdoc: rename `issue-\d+.rs` tests to have meaningful names (part 4) Follow up * #116214 * #116432 * #116824
2 parents 1fd418f + 4f64ff1 commit eab8c7d

32 files changed

+61
-20
lines changed

tests/rustdoc-ui/apit-46976.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
// check-pass
2+
// https://github.com/rust-lang/rust/issues/46976
3+
4+
pub fn ice(f: impl Fn()) {}

tests/rustdoc/issue-48414.rs renamed to tests/rustdoc-ui/circular-intra-doc-link-48414.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
// aux-build:issue-48414.rs
2+
// check-pass
3+
4+
// https://github.com/rust-lang/rust/issues/48414
25

36
// ICE when resolving paths for a trait that linked to another trait, when both were in an external
47
// crate

tests/rustdoc/issue-34423.rs renamed to tests/rustdoc-ui/hidden-trait-method-34423.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
// check-pass
2+
// https://github.com/rust-lang/rust/issues/34423
3+
14
pub struct Foo;
25

36
pub trait Bar {

tests/rustdoc/issue-36031.rs renamed to tests/rustdoc-ui/inherent-assoc-consts-36031.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,10 @@
11
// aux-build:issue-36031.rs
2+
// check-pass
23
// build-aux-docs
34
// ignore-cross-compile
45

6+
// https://github.com/rust-lang/rust/issues/36031
7+
58
#![crate_name = "foo"]
69

710
extern crate issue_36031;
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
1+
// check-pass
12
// hopefully this doesn't cause an ICE
23

4+
// https://github.com/rust-lang/rust/issues/46271
5+
36
pub fn foo() {
47
extern crate std;
58
}

tests/rustdoc/issue-47639.rs renamed to tests/rustdoc-ui/nested-macro-rules-47639.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
1+
// check-pass
12
// This should not ICE
3+
4+
// https://github.com/rust-lang/rust/issues/47639
25
pub fn test() {
36
macro_rules! foo {
47
() => ()
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
// aux-build:issue-40936.rs
2+
// check-pass
23
// build-aux-docs
34

5+
// https://github.com/rust-lang/rust/issues/40936
6+
47
#![crate_name = "foo"]
58

69
extern crate issue_40936;

0 commit comments

Comments
 (0)