mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-26 00:34:06 +00:00
Add URL to test cases
This commit is contained in:
parent
69dc19043b
commit
43b493ebc0
@ -1,3 +1,4 @@
|
||||
// https://github.com/rust-lang/rust/issues/29503
|
||||
#![crate_name="issue_29503"]
|
||||
|
||||
use std::fmt;
|
||||
|
@ -1,3 +1,4 @@
|
||||
// https://github.com/rust-lang/rust/issues/33302
|
||||
#![crate_name="issue_33302"]
|
||||
|
||||
// Ensure constant and array length values are not taken from source
|
||||
|
@ -1,3 +1,4 @@
|
||||
// https://github.com/rust-lang/rust/issues/32890
|
||||
#![crate_name="issue_32890"]
|
||||
|
||||
// @has issue_32890/struct.Foo.html
|
||||
|
@ -1,3 +1,4 @@
|
||||
// https://github.com/rust-lang/rust/issues/29449
|
||||
#![crate_name="issue_29449"]
|
||||
|
||||
// @has issue_29449/struct.Foo.html
|
||||
|
@ -1,3 +1,4 @@
|
||||
// https://github.com/rust-lang/rust/issues/33069
|
||||
#![crate_name="issue_33069"]
|
||||
|
||||
pub trait Bar {}
|
||||
|
@ -1,5 +1,6 @@
|
||||
// compile-flags:--test --cfg feature="bar"
|
||||
|
||||
// https://github.com/rust-lang/rust/issues/30252
|
||||
#![crate_name="issue_30252"]
|
||||
|
||||
/// ```rust
|
||||
|
@ -1,3 +1,4 @@
|
||||
// https://github.com/rust-lang/rust/issues/32556
|
||||
#![crate_name="issue_32556"]
|
||||
|
||||
/// Blah blah blah
|
||||
|
@ -1,3 +1,4 @@
|
||||
// https://github.com/rust-lang/rust/issues/34025
|
||||
#![crate_name = "foo"]
|
||||
|
||||
// @!has 'foo/sys/index.html'
|
||||
|
@ -1,5 +1,6 @@
|
||||
// Test that associated item impls on primitive types don't crash rustdoc
|
||||
|
||||
// https://github.com/rust-lang/rust/issues/31808
|
||||
#![crate_name="issue_31808"]
|
||||
|
||||
pub trait Foo {
|
||||
|
@ -1,3 +1,4 @@
|
||||
// https://github.com/rust-lang/rust/issues/33592
|
||||
#![crate_name = "foo"]
|
||||
|
||||
pub trait Foo<T> {}
|
||||
|
@ -1,6 +1,7 @@
|
||||
// aux-build:issue-29584.rs
|
||||
// ignore-cross-compile
|
||||
|
||||
// https://github.com/rust-lang/rust/issues/29584
|
||||
#![crate_name="issue_29584"]
|
||||
|
||||
extern crate issue_29584;
|
||||
|
@ -3,6 +3,7 @@
|
||||
// build-aux-docs
|
||||
// ignore-cross-compile
|
||||
|
||||
// https://github.com/rust-lang/rust/issues/33178
|
||||
#![crate_name="issue_33178"]
|
||||
|
||||
// @has issue_33178/index.html
|
||||
|
@ -2,6 +2,7 @@
|
||||
// aux-build:issue-30109-1.rs
|
||||
// ignore-cross-compile
|
||||
|
||||
// https://github.com/rust-lang/rust/issues/30109
|
||||
#![crate_name="issue_30109"]
|
||||
|
||||
pub mod quux {
|
||||
|
@ -2,6 +2,7 @@
|
||||
// aux-build:variant-struct.rs
|
||||
// ignore-cross-compile
|
||||
|
||||
// https://github.com/rust-lang/rust/issues/33178
|
||||
#![crate_name="issue_33178_1"]
|
||||
|
||||
// @has issue_33178_1/index.html
|
||||
|
@ -2,6 +2,7 @@
|
||||
// build-aux-docs
|
||||
// ignore-cross-compile
|
||||
|
||||
// https://github.com/rust-lang/rust/issues/32395
|
||||
#![crate_name="issue_32395"]
|
||||
|
||||
// @has variant_struct/enum.Foo.html
|
||||
|
@ -2,6 +2,7 @@
|
||||
// build-aux-docs
|
||||
// ignore-cross-compile
|
||||
|
||||
// https://github.com/rust-lang/rust/issues/34274
|
||||
#![crate_name = "foo"]
|
||||
|
||||
extern crate issue_34274;
|
||||
|
@ -1,3 +1,4 @@
|
||||
// https://github.com/rust-lang/rust/issues/32374
|
||||
#![feature(staged_api)]
|
||||
#![doc(issue_tracker_base_url = "https://issue_url/")]
|
||||
#![unstable(feature = "test", issue = "32374")]
|
||||
|
@ -1,3 +1,4 @@
|
||||
// https://github.com/rust-lang/rust/issues/31899
|
||||
#![crate_name="issue_31899"]
|
||||
|
||||
// @has issue_31899/index.html
|
||||
|
@ -1,5 +1,6 @@
|
||||
// @has issue_30366/index.html '//a/@href' 'http://www.rust-lang.org/'
|
||||
|
||||
// https://github.com/rust-lang/rust/issues/30366
|
||||
#![crate_name="issue_30366"]
|
||||
|
||||
/// Describe it. [Link somewhere][1].
|
||||
|
@ -1,5 +1,6 @@
|
||||
// Regression test for <https://github.com/rust-lang/rust/issues/32077>.
|
||||
|
||||
// https://github.com/rust-lang/rust/issues/32077
|
||||
#![crate_name = "foo"]
|
||||
|
||||
pub struct GenericStruct<T>(T);
|
||||
|
Loading…
Reference in New Issue
Block a user