Skip to content

Commit da7e87e

Browse files
committed
Add URL to test cases
1 parent 0f466b0 commit da7e87e

18 files changed

+33
-0
lines changed

tests/rustdoc/doctest-include-43153.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// https://github.com/rust-lang/rust/issues/43153
2+
13
// Test that `include!` in a doc test searches relative to the directory in
24
// which the test is declared.
35

tests/rustdoc/doctest-macro-38219.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// https://github.com/rust-lang/rust/issues/38219
2+
13
// compile-flags:--test
24
// should-fail
35

tests/rustdoc/doctest-markdown-trailing-docblock-48377.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
// compile-flags:--test
22

3+
// https://github.com/rust-lang/rust/issues/48377
4+
35
//! This is a doc comment
46
//!
57
//! ```rust

tests/rustdoc/enum-variant-private-46767.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// https://github.com/rust-lang/rust/issues/46767
12
#![crate_name = "foo"]
23

34
mod private {

tests/rustdoc/enum-variant-reexport-46766.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// https://github.com/rust-lang/rust/issues/46766
12
#![crate_name = "foo"]
23

34
pub enum Enum{Variant}

tests/rustdoc/foreign-implementors-js-43701.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// https://github.com/rust-lang/rust/issues/43701
12
#![crate_name = "foo"]
23

34
pub use std::vec::Vec;

tests/rustdoc/ice-34423.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// https://github.com/rust-lang/rust/issues/34423
2+
13
pub struct Foo;
24

35
pub trait Bar {

tests/rustdoc/ice-36031.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
// build-aux-docs
33
// ignore-cross-compile
44

5+
// https://github.com/rust-lang/rust/issues/36031
6+
57
#![crate_name = "foo"]
68

79
extern crate issue_36031;

tests/rustdoc/ice-apit-46976.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,3 @@
1+
// https://github.com/rust-lang/rust/issues/46976
2+
13
pub fn ice(f: impl Fn()) {}

tests/rustdoc/ice-circular-intra-doc-link-48414.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
// aux-build:issue-48414.rs
22

3+
// https://github.com/rust-lang/rust/issues/48414
4+
35
// ICE when resolving paths for a trait that linked to another trait, when both were in an external
46
// crate
57

0 commit comments

Comments
 (0)