Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Standardised names and location of ui issue tests #55688

Merged
merged 1 commit into from
Nov 7, 2018
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
@@ -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;

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

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

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
@@ -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;

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

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

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

// Unstable entities should be caught in import lists

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

#![allow(warnings)]

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

2 changes: 1 addition & 1 deletion src/test/ui/issues/issue-30123.rs
Original file line number Diff line number Diff line change
@@ -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::*;
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();
| ^^^^^^^
Original file line number Diff line number Diff line change
@@ -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;
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
@@ -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;
Original file line number Diff line number Diff line change
@@ -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;

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()
| ^
4 changes: 2 additions & 2 deletions src/test/ui/issues/issue-43189.rs
Original file line number Diff line number Diff line change
@@ -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() {
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
@@ -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 {}
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
@@ -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;
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
@@ -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;
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
@@ -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;
2 changes: 1 addition & 1 deletion src/test/ui/issues/issue-46112.rs
Original file line number Diff line number Diff line change
@@ -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>) { }
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();
| ^^^^^
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();
| ^^^^^^^^^
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();
| ^^^^^^^^
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();
| ^^^^^
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
@@ -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;