forked from rust-lang/rust
-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Rollup merge of rust-lang#136258 - notriddle:notriddle/issue-d, r=fmease rustdoc: rename `issue-\d+.rs` tests to have meaningful names (part 11) Follow up * rust-lang#134053 * rust-lang#130287 et al As always, it's easier to review the commits one at a time. Don't use the Files Changed tab. It's confusing.
- Loading branch information
Showing
20 changed files
with
79 additions
and
32 deletions.
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