mirror of
https://github.com/rust-lang/rust.git
synced 2026-04-27 18:57:42 +03:00
Add issue links
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
//! Regression test for <https://github.com/rust-lang/rust/issues/45425>
|
||||
//@ check-pass
|
||||
#![allow(dead_code)]
|
||||
use std::ops::Add;
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
//! Regression test for <https://github.com/rust-lang/rust/issues/32008>
|
||||
//@ run-pass
|
||||
#![allow(dead_code)]
|
||||
#![allow(unused_variables)]
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
//! Regression test for <https://github.com/rust-lang/rust/issues/28839>
|
||||
//@ run-pass
|
||||
|
||||
pub struct Foo;
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
//! Regression test for <https://github.com/rust-lang/rust/issues/2316>
|
||||
enum cat {
|
||||
tabby, calico, tortoiseshell
|
||||
}
|
||||
|
||||
@@ -1,9 +1,10 @@
|
||||
//! Regression test for <https://github.com/rust-lang/rust/issues/2316>
|
||||
#![allow(unused_imports)]
|
||||
|
||||
extern crate issue_2316_a;
|
||||
extern crate resolve_conflict_local_vs_glob_import_a;
|
||||
|
||||
pub mod cloth {
|
||||
use issue_2316_a::*;
|
||||
use resolve_conflict_local_vs_glob_import_a::*;
|
||||
|
||||
pub enum fabric {
|
||||
gingham, flannel, calico
|
||||
|
||||
@@ -1,10 +1,11 @@
|
||||
//! Regression test for <https://github.com/rust-lang/rust/issues/2316>
|
||||
//@ run-pass
|
||||
//@ aux-build:issue-2316-a.rs
|
||||
//@ aux-build:issue-2316-b.rs
|
||||
//@ aux-build:resolve-conflict-local-vs-glob-import-a.rs
|
||||
//@ aux-build:resolve-conflict-local-vs-glob-import-b.rs
|
||||
|
||||
|
||||
extern crate issue_2316_b;
|
||||
use issue_2316_b::cloth;
|
||||
extern crate resolve_conflict_local_vs_glob_import_b;
|
||||
use resolve_conflict_local_vs_glob_import_b::cloth;
|
||||
|
||||
pub fn main() {
|
||||
let _c: cloth::fabric = cloth::fabric::calico;
|
||||
|
||||
Reference in New Issue
Block a user