-
Notifications
You must be signed in to change notification settings - Fork 13.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
rustdoc: rename issue-\d+.rs
tests to have meaningful names (part 11)
#136258
Merged
Merged
Changes from all commits
Commits
Show all changes
4 commits
Select commit
Hold shift + click to select a range
fdef34b
Add URL and `crate_name` to test cases
notriddle eb457da
rustdoc: rename `issue-\d+.rs` tests to have meaningful names
notriddle a1a55a2
Give 104145, 103463, and 31948 more descriptive names
notriddle c17d568
Direct link 108459 to issues -> pull redirect
notriddle File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
File renamed without changes.
3 changes: 3 additions & 0 deletions
3
tests/rustdoc/intra-doc/issue-104145.rs → ...doc/ice-extern-trait-local-impl-104145.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/intra-doc/issue-103463.rs → ...stdoc-ui/intra-doc/ice-priv-use-103463.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 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
13 changes: 8 additions & 5 deletions
13
tests/rustdoc/inline_cross/issue-31948-1.rs → ...ne_cross/doc-reachability-impl-31948-1.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,27 +1,30 @@ | ||
// https://github.com/rust-lang/rust/issues/31948 | ||
#![crate_name="foobar"] | ||
|
||
//@ aux-build:rustdoc-nonreachable-impls.rs | ||
//@ build-aux-docs | ||
//@ ignore-cross-compile | ||
|
||
extern crate rustdoc_nonreachable_impls; | ||
|
||
//@ has issue_31948_1/struct.Wobble.html | ||
//@ has foobar/struct.Wobble.html | ||
//@ has - '//*[@class="impl"]//h3[@class="code-header"]' 'Bark for' | ||
//@ has - '//*[@class="impl"]//h3[@class="code-header"]' 'Woof for' | ||
//@ !has - '//*[@class="impl"]//h3[@class="code-header"]' 'Bar for' | ||
//@ !has - '//*[@class="impl"]//h3[@class="code-header"]' 'Qux for' | ||
pub use rustdoc_nonreachable_impls::hidden::Wobble; | ||
|
||
//@ has issue_31948_1/trait.Bark.html | ||
//@ has foobar/trait.Bark.html | ||
//@ has - '//h3[@class="code-header"]' 'for Foo' | ||
//@ has - '//h3[@class="code-header"]' 'for Wobble' | ||
//@ !has - '//h3[@class="code-header"]' 'for Wibble' | ||
pub use rustdoc_nonreachable_impls::Bark; | ||
|
||
//@ has issue_31948_1/trait.Woof.html | ||
//@ has foobar/trait.Woof.html | ||
//@ has - '//h3[@class="code-header"]' 'for Foo' | ||
//@ has - '//h3[@class="code-header"]' 'for Wobble' | ||
//@ !has - '//h3[@class="code-header"]' 'for Wibble' | ||
pub use rustdoc_nonreachable_impls::Woof; | ||
|
||
//@ !has issue_31948_1/trait.Bar.html | ||
//@ !has issue_31948_1/trait.Qux.html | ||
//@ !has foobar/trait.Bar.html | ||
//@ !has foobar/trait.Qux.html |
13 changes: 8 additions & 5 deletions
13
tests/rustdoc/inline_cross/issue-31948-2.rs → ...ne_cross/doc-reachability-impl-31948-2.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,21 +1,24 @@ | ||
// https://github.com/rust-lang/rust/issues/31948 | ||
#![crate_name="foobar"] | ||
|
||
//@ aux-build:rustdoc-nonreachable-impls.rs | ||
//@ build-aux-docs | ||
//@ ignore-cross-compile | ||
|
||
extern crate rustdoc_nonreachable_impls; | ||
|
||
//@ has issue_31948_2/struct.Wobble.html | ||
//@ has foobar/struct.Wobble.html | ||
//@ has - '//*[@class="impl"]//h3[@class="code-header"]' 'Qux for' | ||
//@ has - '//*[@class="impl"]//h3[@class="code-header"]' 'Bark for' | ||
//@ has - '//*[@class="impl"]//h3[@class="code-header"]' 'Woof for' | ||
//@ !has - '//*[@class="impl"]//h3[@class="code-header"]' 'Bar for' | ||
pub use rustdoc_nonreachable_impls::hidden::Wobble; | ||
|
||
//@ has issue_31948_2/trait.Qux.html | ||
//@ has foobar/trait.Qux.html | ||
//@ has - '//h3[@class="code-header"]' 'for Foo' | ||
//@ has - '//h3[@class="code-header"]' 'for Wobble' | ||
pub use rustdoc_nonreachable_impls::hidden::Qux; | ||
|
||
//@ !has issue_31948_2/trait.Bar.html | ||
//@ !has issue_31948_2/trait.Woof.html | ||
//@ !has issue_31948_2/trait.Bark.html | ||
//@ !has foobar/trait.Bar.html | ||
//@ !has foobar/trait.Woof.html | ||
//@ !has foobar/trait.Bark.html |
17 changes: 10 additions & 7 deletions
17
tests/rustdoc/inline_cross/issue-31948.rs → ...line_cross/doc-reachability-impl-31948.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,29 +1,32 @@ | ||
// https://github.com/rust-lang/rust/issues/31948 | ||
#![crate_name="foobar"] | ||
|
||
//@ aux-build:rustdoc-nonreachable-impls.rs | ||
//@ build-aux-docs | ||
//@ ignore-cross-compile | ||
|
||
extern crate rustdoc_nonreachable_impls; | ||
|
||
//@ has issue_31948/struct.Foo.html | ||
//@ has foobar/struct.Foo.html | ||
//@ has - '//*[@class="impl"]//h3[@class="code-header"]' 'Bark for' | ||
//@ has - '//*[@class="impl"]//h3[@class="code-header"]' 'Woof for' | ||
//@ !has - '//*[@class="impl"]//h3[@class="code-header"]' 'Bar for' | ||
//@ !has - '//*[@class="impl"]//h3[@class="code-header"]' 'Qux for' | ||
pub use rustdoc_nonreachable_impls::Foo; | ||
|
||
//@ has issue_31948/trait.Bark.html | ||
//@ has foobar/trait.Bark.html | ||
//@ has - '//h3[@class="code-header"]' 'for Foo' | ||
//@ !has - '//h3[@class="code-header"]' 'for Wibble' | ||
//@ !has - '//h3[@class="code-header"]' 'for Wobble' | ||
pub use rustdoc_nonreachable_impls::Bark; | ||
|
||
//@ has issue_31948/trait.Woof.html | ||
//@ has foobar/trait.Woof.html | ||
//@ has - '//h3[@class="code-header"]' 'for Foo' | ||
//@ !has - '//h3[@class="code-header"]' 'for Wibble' | ||
//@ !has - '//h3[@class="code-header"]' 'for Wobble' | ||
pub use rustdoc_nonreachable_impls::Woof; | ||
|
||
//@ !has issue_31948/trait.Bar.html | ||
//@ !has issue_31948/trait.Qux.html | ||
//@ !has issue_31948/struct.Wibble.html | ||
//@ !has issue_31948/struct.Wobble.html | ||
//@ !has foobar/trait.Bar.html | ||
//@ !has foobar/trait.Qux.html | ||
//@ !has foobar/struct.Wibble.html | ||
//@ !has foobar/struct.Wobble.html |
5 changes: 4 additions & 1 deletion
5
tests/rustdoc/inline_cross/issue-32881.rs → ...tdoc/inline_cross/impl-dyn-trait-32881.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
5 changes: 4 additions & 1 deletion
5
tests/rustdoc/inline_cross/issue-33113.rs → tests/rustdoc/inline_cross/impl-ref-33113.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,10 +1,13 @@ | ||
// https://github.com/rust-lang/rust/issues/33113 | ||
#![crate_name="foobar"] | ||
|
||
//@ aux-build:issue-33113.rs | ||
//@ build-aux-docs | ||
//@ ignore-cross-compile | ||
|
||
extern crate bar; | ||
|
||
//@ has issue_33113/trait.Bar.html | ||
//@ has foobar/trait.Bar.html | ||
//@ has - '//h3[@class="code-header"]' "for &'a char" | ||
//@ has - '//h3[@class="code-header"]' "for Foo" | ||
pub use bar::Bar; |
2 changes: 2 additions & 0 deletions
2
tests/rustdoc/inline_cross/issue-76736-1.rs → ...doc/inline_cross/rustc-private-76736-1.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/inline_cross/issue-76736-2.rs → ...doc/inline_cross/rustc-private-76736-2.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/inline_cross/issue-76736-3.rs → ...doc/inline_cross/rustc-private-76736-3.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/inline_cross/issue-76736-4.rs → ...doc/inline_cross/rustc-private-76736-4.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/inline_cross/issue-24183.rs → ...c/inline_cross/self-sized-bounds-24183.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/24183 | ||
#![crate_type = "lib"] | ||
#![crate_name = "usr"] | ||
|
||
|
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 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/intra-doc/issue-82209.rs → tests/rustdoc/intra-doc/enum-self-82209.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 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 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
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
(hah, [#]108459 isn't even an issue but a PR)