-
Notifications
You must be signed in to change notification settings - Fork 12.8k
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 4)
#118105
Changes from 3 commits
0f466b0
da7e87e
cbe6843
fdde5c7
4f64ff1
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
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 | ||
|
||
|
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 { | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Preexisting: This would be a better fit for |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
// https://github.com/rust-lang/rust/issues/34423 | ||
|
||
pub struct Foo; | ||
|
||
pub trait Bar { | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. → |
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. → |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
// https://github.com/rust-lang/rust/issues/46976 | ||
|
||
pub fn ice(f: impl Fn()) {} |
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. → |
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. → |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,8 @@ | ||
// aux-build:issue-40936.rs | ||
// build-aux-docs | ||
|
||
// https://github.com/rust-lang/rust/issues/40936 | ||
|
||
#![crate_name = "foo"] | ||
|
||
extern crate issue_40936; |
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. → |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,7 @@ | ||
// hopefully this doesn't cause an ICE | ||
|
||
// https://github.com/rust-lang/rust/issues/46271 | ||
|
||
pub fn foo() { | ||
extern crate std; | ||
} |
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. → |
This file was deleted.
This file was deleted.
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 {} |
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. → |
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.
This could theoretically be moved into
inline_local/
.