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.
Rollup merge of rust-lang#125382 - notriddle:notriddle/issue-d, r=fmease rustdoc: rename `issue-\d+.rs` tests to have meaningful names (part 7) Follow up * rust-lang#116214 * rust-lang#116432 * rust-lang#116824 * rust-lang#118105 * rust-lang#119561 * rust-lang#123574 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
26 changed files
with
80 additions
and
51 deletions.
There are no files selected for viewing
2 changes: 2 additions & 0 deletions
2
tests/rustdoc/issue-95633.rs → ...primitive-document-private-items-95633.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
...doc/issue-82465-asref-for-and-of-local.rs → ...s/rustdoc/asref-for-and-of-local-82465.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
4 changes: 3 additions & 1 deletion
4
tests/rustdoc/issue-88600.rs → ...oc/enum-variant-doc-hidden-field-88600.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-89309-heading-levels.rs → tests/rustdoc/heading-levels-89309.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/89309 | ||
#![crate_name = "foo"] | ||
|
||
// @has foo/trait.Read.html | ||
|
File renamed without changes.
File renamed without changes.
1 change: 1 addition & 0 deletions
1
tests/rustdoc/issue-85454.rs → .../rustdoc/inline_cross/qpath-self-85454.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
18 changes: 18 additions & 0 deletions
18
tests/rustdoc/inline_cross/reexport-with-anonymous-lifetime-98697.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 |
---|---|---|
@@ -0,0 +1,18 @@ | ||
//@ aux-build:reexport-with-anonymous-lifetime-98697.rs | ||
//@ ignore-cross-compile | ||
#![crate_name = "foo"] | ||
|
||
// When reexporting a function with a HRTB with anonymous lifetimes, | ||
// make sure the anonymous lifetimes are not rendered. | ||
// | ||
// https://github.com/rust-lang/rust/issues/98697 | ||
|
||
extern crate reexport_with_anonymous_lifetime_98697; | ||
|
||
// @has foo/fn.repro.html '//pre[@class="rust item-decl"]/code' 'fn repro<F>()where F: Fn(&str)' | ||
// @!has foo/fn.repro.html '//pre[@class="rust item-decl"]/code' 'for<' | ||
pub use reexport_with_anonymous_lifetime_98697::repro; | ||
|
||
// @has foo/struct.Extra.html '//div[@id="trait-implementations-list"]//h3[@class="code-header"]' 'impl MyTrait<&Extra> for Extra' | ||
// @!has foo/struct.Extra.html '//div[@id="trait-implementations-list"]//h3[@class="code-header"]' 'impl<' | ||
pub use reexport_with_anonymous_lifetime_98697::Extra; |
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
...81141-private-reexport-in-public-api-2.rs → ...private-reexport-in-public-api-81141-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
1 change: 1 addition & 0 deletions
1
...e-81141-private-reexport-in-public-api.rs → ...l/private-reexport-in-public-api-81141.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
...rivate-reexport-in-public-api-generics.rs → ...-reexport-in-public-api-generics-81141.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/81141 | ||
#![crate_name = "foo"] | ||
|
||
use crate::bar::Foo as Alias; | ||
|
1 change: 1 addition & 0 deletions
1
...-private-reexport-in-public-api-hidden.rs → ...te-reexport-in-public-api-hidden-81141.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
...private-reexport-in-public-api-private.rs → ...e-reexport-in-public-api-private-81141.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
16 changes: 16 additions & 0 deletions
16
tests/rustdoc/inline_local/reexported-macro-and-macro-export-sidebar-89852.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 |
---|---|---|
@@ -0,0 +1,16 @@ | ||
//@ edition:2018 | ||
|
||
// https://github.com/rust-lang/rust/issues/89852 | ||
#![crate_name = "foo"] | ||
#![no_core] | ||
#![feature(no_core)] | ||
|
||
// @matchesraw 'foo/sidebar-items.js' '"repro"' | ||
// @!matchesraw 'foo/sidebar-items.js' '"repro".*"repro"' | ||
|
||
#[macro_export] | ||
macro_rules! repro { | ||
() => {}; | ||
} | ||
|
||
pub use crate::repro as repro2; |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
//@ aux-build:issue-86620-1.rs | ||
#![crate_name = "foo"] | ||
// https://github.com/rust-lang/rust/issues/86620 | ||
|
||
extern crate issue_86620_1; | ||
|
||
use issue_86620_1::*; | ||
|
||
// @!has foo/struct.S.html '//*[@id="method.vzip"]//a[@class="fnname"]/@href' #tymethod.vzip | ||
// @has foo/struct.S.html '//*[@id="method.vzip"]//a[@class="anchor"]/@href' #method.vzip | ||
pub struct S; |
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
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,5 @@ | ||
// https://github.com/rust-lang/rust/issues/95873 | ||
#![crate_name = "foo"] | ||
|
||
// @has foo/index.html "//*[@class='item-name']" "pub use ::std as x;" | ||
pub use ::std as x; |
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-96381.rs → ...oc/underscore-type-in-trait-impl-96381.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 @@ | ||
//@ should-fail | ||
// https://github.com/rust-lang/rust/issues/96381 | ||
|
||
#![allow(unused)] | ||
|
||
|