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#130287 - notriddle:notriddle/issue-d, r=jie…
…youxu rustdoc: rename `issue-\d+.rs` tests to have meaningful names (part 9) Follow up * rust-lang#116214 * rust-lang#116432 * rust-lang#116824 * rust-lang#118105 * rust-lang#119561 * rust-lang#123574 * rust-lang#125382 * rust-lang#127671 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
22 changed files
with
34 additions
and
11 deletions.
There are no files selected for viewing
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
1 change: 1 addition & 0 deletions
1
...doc-ui/issue-110629-private-type-cycle.rs → ...s/rustdoc-ui/private-type-cycle-110629.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,4 +1,5 @@ | ||
//@ check-pass | ||
// https://github.com/rust-lang/rust/issues/110629 | ||
|
||
#![feature(type_alias_impl_trait)] | ||
|
||
|
2 changes: 2 additions & 0 deletions
2
...ui/issue-110629-private-type-cycle-dyn.rs → ...stdoc-ui/private-type-cycle-dyn-110629.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
1 change: 1 addition & 0 deletions
1
...ustdoc/issue-108931-anonymous-reexport.rs → tests/rustdoc/anonymous-reexport-108931.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
.../rustdoc/issue-109695-crate-doc-hidden.rs → tests/rustdoc/crate-doc-hidden-109695.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
...deref/issue-100679-sidebar-links-deref.rs → ...stdoc/deref/sidebar-links-deref-100679.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/100679 | ||
#![crate_name="foo"] | ||
|
||
pub struct Vec; | ||
|
File renamed without changes.
1 change: 1 addition & 0 deletions
1
...e-113982-doc_auto_cfg-reexport-foreign.rs → ...c/doc_auto_cfg-reexport-foreign-113982.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
6 changes: 4 additions & 2 deletions
6
tests/rustdoc/duplicate_impls/issue-33054.rs → ...ls/sidebar-links-duplicate-impls-33054.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
7 changes: 5 additions & 2 deletions
7
...ustdoc/issue-118180-empty-tuple-struct.rs → tests/rustdoc/empty-tuple-struct-118180.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,9 +1,12 @@ | ||
//@ has issue_118180_empty_tuple_struct/enum.Enum.html | ||
// https://github.com/rust-lang/rust/issues/118180 | ||
#![crate_name="foo"] | ||
|
||
//@ has foo/enum.Enum.html | ||
pub enum Enum { | ||
//@ has - '//*[@id="variant.Empty"]//h3' 'Empty()' | ||
Empty(), | ||
} | ||
|
||
//@ has issue_118180_empty_tuple_struct/struct.Empty.html | ||
//@ has foo/struct.Empty.html | ||
//@ has - '//pre/code' 'Empty()' | ||
pub struct Empty(); |
5 changes: 4 additions & 1 deletion
5
tests/rustdoc/issue-108925.rs → tests/rustdoc/enum-non-exhaustive-108925.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-111249-file-creation.rs → tests/rustdoc/file-creation-111249.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
...c/generic-associated-types/issue-94683.rs → ...ciated-types/gat-elided-lifetime-94683.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/94683 | ||
#![crate_name = "foo"] | ||
|
||
pub trait Trait { | ||
|
4 changes: 3 additions & 1 deletion
4
.../generic-associated-types/issue-109488.rs → ...ociated-types/gat-linkification-109488.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
...stdoc/issue-115295-macro-const-display.rs → tests/rustdoc/macro-const-display-115295.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/115295 | ||
#![crate_name = "foo"] | ||
|
||
//@ has foo/trait.Trait.html | ||
|
File renamed without changes.
4 changes: 3 additions & 1 deletion
4
...ustdoc/issue-110629-private-type-cycle.rs → tests/rustdoc/private-type-cycle-110629.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
...ue-111064-reexport-trait-from-hidden-2.rs → ...oc/reexport-trait-from-hidden-111064-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
File renamed without changes.