forked from rust-lang/rust
-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Auto merge of rust-lang#118105 - notriddle:master, r=fmease
rustdoc: rename `issue-\d+.rs` tests to have meaningful names (part 4) Follow up * rust-lang#116214 * rust-lang#116432 * rust-lang#116824
- Loading branch information
Showing
32 changed files
with
61 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
// check-pass | ||
// https://github.com/rust-lang/rust/issues/46976 | ||
|
||
pub fn ice(f: impl Fn()) {} |
File renamed without changes.
File renamed without changes.
File renamed without changes.
3 changes: 3 additions & 0 deletions
3
tests/rustdoc/issue-48414.rs → ...stdoc-ui/circular-intra-doc-link-48414.rs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 3 additions & 0 deletions
3
tests/rustdoc/issue-34423.rs → ...s/rustdoc-ui/hidden-trait-method-34423.rs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 3 additions & 0 deletions
3
tests/rustdoc/issue-36031.rs → ...rustdoc-ui/inherent-assoc-consts-36031.rs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 3 additions & 0 deletions
3
tests/rustdoc/issue-46271.rs → ...s/rustdoc-ui/nested-extern-crate-46271.rs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,8 @@ | ||
// check-pass | ||
// hopefully this doesn't cause an ICE | ||
|
||
// https://github.com/rust-lang/rust/issues/46271 | ||
|
||
pub fn foo() { | ||
extern crate std; | ||
} |
3 changes: 3 additions & 0 deletions
3
tests/rustdoc/issue-47639.rs → tests/rustdoc-ui/nested-macro-rules-47639.rs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 3 additions & 0 deletions
3
tests/rustdoc/issue-40936.rs → tests/rustdoc-ui/super-glob-40936.rs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,9 @@ | ||
// aux-build:issue-40936.rs | ||
// check-pass | ||
// build-aux-docs | ||
|
||
// https://github.com/rust-lang/rust/issues/40936 | ||
|
||
#![crate_name = "foo"] | ||
|
||
extern crate issue_40936; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
// intentionally empty |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 2 additions & 0 deletions
2
tests/rustdoc/issue-43153.rs → .../rustdoc/doctest/doctest-include-43153.rs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 2 additions & 0 deletions
2
tests/rustdoc/issue-38219.rs → tests/rustdoc/doctest/doctest-macro-38219.rs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
// https://github.com/rust-lang/rust/issues/38219 | ||
|
||
// compile-flags:--test | ||
// should-fail | ||
|
||
|
File renamed without changes.
File renamed without changes.
2 changes: 2 additions & 0 deletions
2
tests/rustdoc/issue-48377.rs → ...ctest-markdown-trailing-docblock-48377.rs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
1 change: 1 addition & 0 deletions
1
tests/rustdoc/issue-46767.rs → tests/rustdoc/enum-variant-private-46767.rs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
// https://github.com/rust-lang/rust/issues/46767 | ||
#![crate_name = "foo"] | ||
|
||
mod private { | ||
|
1 change: 1 addition & 0 deletions
1
tests/rustdoc/issue-43701.rs → .../rustdoc/foreign-implementors-js-43701.rs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 2 additions & 0 deletions
2
tests/rustdoc/issue-34473.rs → tests/rustdoc/inline-rename-34473.rs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 1 addition & 0 deletions
1
tests/rustdoc/issue-46766.rs → ...line_local/enum-variant-reexport-46766.rs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
// ignore-cross-compile | ||
|
||
// https://github.com/rust-lang/rust/issues/43893 | ||
|
||
#![crate_name = "foo"] | ||
|
||
pub trait SomeTrait {} | ||
pub struct SomeStruct; | ||
|
||
// @has foo/trait.SomeTrait.html '//a/@href' '../src/foo/src-links-implementor-43893.rs.html#11' | ||
impl SomeTrait for usize {} | ||
|
||
// @has foo/trait.SomeTrait.html '//a/@href' '../src/foo/src-links-implementor-43893.rs.html#14-16' | ||
impl SomeTrait for SomeStruct { | ||
// deliberately multi-line impl | ||
} | ||
|
||
pub trait AnotherTrait {} | ||
|
||
// @has foo/trait.AnotherTrait.html '//a/@href' '../src/foo/src-links-implementor-43893.rs.html#21' | ||
impl<T> AnotherTrait for T {} |
2 changes: 2 additions & 0 deletions
2
tests/rustdoc/issue-45584.rs → ...t-implementations-duplicate-self-45584.rs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 2 additions & 0 deletions
2
tests/rustdoc/issue-34928.rs → ...ustdoc/tuple-struct-where-clause-34928.rs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters