Skip to content

Commit

Permalink
Moved and renamed ui issue tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexander Regueiro committed Nov 6, 2018
1 parent 248745a commit a1c4060
Show file tree
Hide file tree
Showing 73 changed files with 41 additions and 41 deletions.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion src/test/ui/issues/issue-11593.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down
2 changes: 1 addition & 1 deletion src/test/ui/issues/issue-11680.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down
2 changes: 1 addition & 1 deletion src/test/ui/issues/issue-16725.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down
2 changes: 1 addition & 1 deletion src/test/ui/issues/issue-17718-const-privacy.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down
2 changes: 1 addition & 1 deletion src/test/ui/issues/issue-1920-1.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion src/test/ui/issues/issue-1920-2.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down
2 changes: 1 addition & 1 deletion src/test/ui/issues/issue-1920-3.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion src/test/ui/issues/issue-21202.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down
2 changes: 1 addition & 1 deletion src/test/ui/issues/issue-28075.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

// Unstable entities should be caught in import lists

// aux-build:lint_stability.rs
// aux-build:lint-stability.rs

#![allow(warnings)]

Expand Down
2 changes: 1 addition & 1 deletion src/test/ui/issues/issue-28388-3.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down
2 changes: 1 addition & 1 deletion src/test/ui/issues/issue-30123.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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::*;
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,87 +1,87 @@
error[E0658]: statements in constants are unstable (see issue #48821)
--> $DIR/issue32829.rs:17:9
--> $DIR/issue-32829-2.rs:17:9
|
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();
| ^^^^^^^^^
|
= 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();
| ^^^^^^^
|
= 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;
| ^
|
= 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();
| ^^^^^^^^^
|
= 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();
| ^^^^^^^
|
= 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;
| ^
|
= 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();
| ^^^^^^^^^
|
= 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();
| ^^^^^^^
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion src/test/ui/issues/issue-41549.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down
Original file line number Diff line number Diff line change
@@ -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()
| ^
Expand Down
4 changes: 2 additions & 2 deletions src/test/ui/issues/issue-43189.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down
2 changes: 1 addition & 1 deletion src/test/ui/issues/issue-45829/rename-extern-vs-use.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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 {}
Expand Down
4 changes: 2 additions & 2 deletions src/test/ui/issues/issue-45829/rename-extern-with-tab.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
4 changes: 2 additions & 2 deletions src/test/ui/issues/issue-45829/rename-extern.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion src/test/ui/issues/issue-45829/rename-use-vs-extern.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion src/test/ui/issues/issue-46112.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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>) { }
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -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();
| ^^^^^
Expand Down
Original file line number Diff line number Diff line change
@@ -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();
| ^^^^^^^^^
Expand Down
Original file line number Diff line number Diff line change
@@ -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();
| ^^^^^^^^
Expand Down
Original file line number Diff line number Diff line change
@@ -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();
| ^^^^^
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion src/test/ui/issues/issue-5844.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit a1c4060

Please sign in to comment.