Moved and renamed ui issue tests.

This commit is contained in:
Alexander Regueiro 2018-11-05 04:00:03 +00:00
parent 248745ab0c
commit a1c4060c9d
73 changed files with 41 additions and 41 deletions

View File

@ -8,7 +8,7 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.
// aux-build:private_trait_xc.rs
// aux-build:private-trait-xc.rs
extern crate private_trait_xc;

View File

@ -8,7 +8,7 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.
// aux-build:issue_11680.rs
// aux-build:issue-11680.rs
extern crate issue_11680 as other;

View File

@ -8,7 +8,7 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.
// aux-build:issue_16725.rs
// aux-build:issue-16725.rs
extern crate issue_16725 as foo;

View File

@ -8,7 +8,7 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.
// aux-build:issue_17718_const_privacy.rs
// aux-build:issue-17718-const-privacy.rs
extern crate issue_17718_const_privacy as other;

View File

@ -10,7 +10,7 @@
//! Test that absolute path names are correct when a crate is not linked into the root namespace
// aux-build:issue_1920.rs
// aux-build:issue-1920.rs
mod foo {
pub extern crate issue_1920;

View File

@ -10,7 +10,7 @@
//! Test that when a crate is linked under another name that name is used in global paths
// aux-build:issue_1920.rs
// aux-build:issue-1920.rs
extern crate issue_1920 as bar;

View File

@ -10,7 +10,7 @@
//! Test that when a crate is linked multiple times that the shortest absolute path name is used
// aux-build:issue_1920.rs
// aux-build:issue-1920.rs
mod foo {
pub extern crate issue_1920;

View File

@ -8,7 +8,7 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.
// aux-build:issue_21202.rs
// aux-build:issue-21202.rs
extern crate issue_21202 as crate1;

View File

@ -10,7 +10,7 @@
// Unstable entities should be caught in import lists
// aux-build:lint_stability.rs
// aux-build:lint-stability.rs
#![allow(warnings)]

View File

@ -10,7 +10,7 @@
// Prefix in imports with empty braces should be resolved and checked privacy, stability, etc.
// aux-build:lint_stability.rs
// aux-build:lint-stability.rs
extern crate lint_stability;

View File

@ -8,7 +8,7 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.
// aux-build:issue_30123_aux.rs
// aux-build:issue-30123-aux.rs
extern crate issue_30123_aux;
use issue_30123_aux::*;

View File

@ -1,5 +1,5 @@
error[E0658]: statements in constants are unstable (see issue #48821)
--> $DIR/issue32829.rs:17:9
--> $DIR/issue-32829-2.rs:17:9
|
LL | 5;
| ^
@ -7,13 +7,13 @@ LL | 5;
= help: add #![feature(const_let)] to the crate attributes to enable
error[E0015]: calls in constants are limited to constant functions, tuple structs and tuple variants
--> $DIR/issue32829.rs:25:9
--> $DIR/issue-32829-2.rs:25:9
|
LL | invalid();
| ^^^^^^^^^
error[E0658]: statements in constants are unstable (see issue #48821)
--> $DIR/issue32829.rs:25:9
--> $DIR/issue-32829-2.rs:25:9
|
LL | invalid();
| ^^^^^^^^^
@ -21,7 +21,7 @@ LL | invalid();
= help: add #![feature(const_let)] to the crate attributes to enable
error[E0658]: statements in constants are unstable (see issue #48821)
--> $DIR/issue32829.rs:34:9
--> $DIR/issue-32829-2.rs:34:9
|
LL | valid();
| ^^^^^^^
@ -29,7 +29,7 @@ LL | valid();
= help: add #![feature(const_let)] to the crate attributes to enable
error[E0658]: statements in statics are unstable (see issue #48821)
--> $DIR/issue32829.rs:42:9
--> $DIR/issue-32829-2.rs:42:9
|
LL | 5;
| ^
@ -37,13 +37,13 @@ LL | 5;
= help: add #![feature(const_let)] to the crate attributes to enable
error[E0015]: calls in statics are limited to constant functions, tuple structs and tuple variants
--> $DIR/issue32829.rs:50:9
--> $DIR/issue-32829-2.rs:50:9
|
LL | invalid();
| ^^^^^^^^^
error[E0658]: statements in statics are unstable (see issue #48821)
--> $DIR/issue32829.rs:50:9
--> $DIR/issue-32829-2.rs:50:9
|
LL | invalid();
| ^^^^^^^^^
@ -51,7 +51,7 @@ LL | invalid();
= help: add #![feature(const_let)] to the crate attributes to enable
error[E0658]: statements in statics are unstable (see issue #48821)
--> $DIR/issue32829.rs:59:9
--> $DIR/issue-32829-2.rs:59:9
|
LL | valid();
| ^^^^^^^
@ -59,7 +59,7 @@ LL | valid();
= help: add #![feature(const_let)] to the crate attributes to enable
error[E0658]: statements in statics are unstable (see issue #48821)
--> $DIR/issue32829.rs:67:9
--> $DIR/issue-32829-2.rs:67:9
|
LL | 5;
| ^
@ -67,13 +67,13 @@ LL | 5;
= help: add #![feature(const_let)] to the crate attributes to enable
error[E0015]: calls in statics are limited to constant functions, tuple structs and tuple variants
--> $DIR/issue32829.rs:75:9
--> $DIR/issue-32829-2.rs:75:9
|
LL | invalid();
| ^^^^^^^^^
error[E0658]: statements in statics are unstable (see issue #48821)
--> $DIR/issue32829.rs:75:9
--> $DIR/issue-32829-2.rs:75:9
|
LL | invalid();
| ^^^^^^^^^
@ -81,7 +81,7 @@ LL | invalid();
= help: add #![feature(const_let)] to the crate attributes to enable
error[E0658]: statements in statics are unstable (see issue #48821)
--> $DIR/issue32829.rs:84:9
--> $DIR/issue-32829-2.rs:84:9
|
LL | valid();
| ^^^^^^^

View File

@ -8,7 +8,7 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.
// aux-build:issue_38875_b.rs
// aux-build:issue-38875-b.rs
// compile-pass
extern crate issue_38875_b;

View File

@ -8,7 +8,7 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.
// aux-build:issue_41549.rs
// aux-build:issue-41549.rs
extern crate issue_41549;

View File

@ -8,7 +8,7 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.
// aux-build:issue_41652_b.rs
// aux-build:issue-41652-b.rs
extern crate issue_41652_b;

View File

@ -1,5 +1,5 @@
error[E0689]: can't call method `f` on ambiguous numeric type `{integer}`
--> $DIR/issue_41652.rs:19:11
--> $DIR/issue-41652.rs:19:11
|
LL | 3.f()
| ^

View File

@ -12,8 +12,8 @@
// paths rooted from `std` to be misrendered in the diagnostic output.
// ignore-windows
// aux-build:xcrate_issue_43189_a.rs
// aux-build:xcrate_issue_43189_b.rs
// aux-build:xcrate-issue-43189-a.rs
// aux-build:xcrate-issue-43189-b.rs
extern crate xcrate_issue_43189_b;
fn main() {

View File

@ -8,7 +8,7 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.
// aux-build:issue_45829_b.rs
// aux-build:issue-45829-b.rs
mod foo {
pub mod bar {}

View File

@ -8,8 +8,8 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.
// aux-build:issue_45829_a.rs
// aux-build:issue_45829_b.rs
// aux-build:issue-45829-a.rs
// aux-build:issue-45829-b.rs
extern crate issue_45829_a;
extern crate issue_45829_b as issue_45829_a;

View File

@ -8,8 +8,8 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.
// aux-build:issue_45829_a.rs
// aux-build:issue_45829_b.rs
// aux-build:issue-45829-a.rs
// aux-build:issue-45829-b.rs
extern crate issue_45829_a;
extern crate issue_45829_b as issue_45829_a;

View File

@ -8,7 +8,7 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.
// aux-build:issue_45829_b.rs
// aux-build:issue-45829-b.rs
extern crate issue_45829_b;
use std as issue_45829_b;

View File

@ -12,7 +12,7 @@
// paths rooted from `std` to be misrendered in the diagnostic output.
// ignore-windows
// aux-build:xcrate_issue_46112_rexport_core.rs
// aux-build:xcrate-issue-46112-rexport-core.rs
extern crate xcrate_issue_46112_rexport_core;
fn test(r: Result<Option<()>, &'static str>) { }

View File

@ -1,5 +1,5 @@
error[E0599]: no method named `deref` found for type `std::option::Option<{integer}>` in the current scope
--> $DIR/option_deref.rs:14:29
--> $DIR/option-deref.rs:14:29
|
LL | let _result = &Some(42).deref();
| ^^^^^

View File

@ -1,5 +1,5 @@
error[E0599]: no method named `deref_err` found for type `std::result::Result<_, {integer}>` in the current scope
--> $DIR/result_deref_err.rs:14:28
--> $DIR/result-deref-err.rs:14:28
|
LL | let _result = &Err(41).deref_err();
| ^^^^^^^^^

View File

@ -1,5 +1,5 @@
error[E0599]: no method named `deref_ok` found for type `std::result::Result<{integer}, _>` in the current scope
--> $DIR/result_deref_ok.rs:14:27
--> $DIR/result-deref-ok.rs:14:27
|
LL | let _result = &Ok(42).deref_ok();
| ^^^^^^^^

View File

@ -1,5 +1,5 @@
error[E0599]: no method named `deref` found for type `std::result::Result<{integer}, _>` in the current scope
--> $DIR/result_deref.rs:14:27
--> $DIR/result-deref.rs:14:27
|
LL | let _result = &Ok(42).deref();
| ^^^^^

View File

@ -8,7 +8,7 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.
//aux-build:issue_5844_aux.rs
//aux-build:issue-5844-aux.rs
extern crate issue_5844_aux;