Skip to content

Commit a1c4060

Browse files
author
Alexander Regueiro
committed
Moved and renamed ui issue tests.
1 parent 248745a commit a1c4060

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

73 files changed

+41
-41
lines changed

src/test/ui/issues/issue-11593.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
// option. This file may not be copied, modified, or distributed
99
// except according to those terms.
1010

11-
// aux-build:private_trait_xc.rs
11+
// aux-build:private-trait-xc.rs
1212

1313
extern crate private_trait_xc;
1414

src/test/ui/issues/issue-11680.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
// option. This file may not be copied, modified, or distributed
99
// except according to those terms.
1010

11-
// aux-build:issue_11680.rs
11+
// aux-build:issue-11680.rs
1212

1313
extern crate issue_11680 as other;
1414

src/test/ui/issues/issue-16725.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
// option. This file may not be copied, modified, or distributed
99
// except according to those terms.
1010

11-
// aux-build:issue_16725.rs
11+
// aux-build:issue-16725.rs
1212

1313
extern crate issue_16725 as foo;
1414

src/test/ui/issues/issue-17718-const-privacy.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
// option. This file may not be copied, modified, or distributed
99
// except according to those terms.
1010

11-
// aux-build:issue_17718_const_privacy.rs
11+
// aux-build:issue-17718-const-privacy.rs
1212

1313
extern crate issue_17718_const_privacy as other;
1414

src/test/ui/issues/issue-1920-1.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
//! Test that absolute path names are correct when a crate is not linked into the root namespace
1212
13-
// aux-build:issue_1920.rs
13+
// aux-build:issue-1920.rs
1414

1515
mod foo {
1616
pub extern crate issue_1920;

src/test/ui/issues/issue-1920-2.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
//! Test that when a crate is linked under another name that name is used in global paths
1212
13-
// aux-build:issue_1920.rs
13+
// aux-build:issue-1920.rs
1414

1515
extern crate issue_1920 as bar;
1616

src/test/ui/issues/issue-1920-3.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
//! Test that when a crate is linked multiple times that the shortest absolute path name is used
1212
13-
// aux-build:issue_1920.rs
13+
// aux-build:issue-1920.rs
1414

1515
mod foo {
1616
pub extern crate issue_1920;

src/test/ui/issues/issue-21202.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
// option. This file may not be copied, modified, or distributed
99
// except according to those terms.
1010

11-
// aux-build:issue_21202.rs
11+
// aux-build:issue-21202.rs
1212

1313
extern crate issue_21202 as crate1;
1414

src/test/ui/issues/issue-28075.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
// Unstable entities should be caught in import lists
1212

13-
// aux-build:lint_stability.rs
13+
// aux-build:lint-stability.rs
1414

1515
#![allow(warnings)]
1616

src/test/ui/issues/issue-28388-3.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
// Prefix in imports with empty braces should be resolved and checked privacy, stability, etc.
1212

13-
// aux-build:lint_stability.rs
13+
// aux-build:lint-stability.rs
1414

1515
extern crate lint_stability;
1616

src/test/ui/issues/issue-30123.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
// option. This file may not be copied, modified, or distributed
99
// except according to those terms.
1010

11-
// aux-build:issue_30123_aux.rs
11+
// aux-build:issue-30123-aux.rs
1212

1313
extern crate issue_30123_aux;
1414
use issue_30123_aux::*;

src/test/ui/issues/issue32829.stderr renamed to src/test/ui/issues/issue-32829-2.stderr

+12-12
Original file line numberDiff line numberDiff line change
@@ -1,87 +1,87 @@
11
error[E0658]: statements in constants are unstable (see issue #48821)
2-
--> $DIR/issue32829.rs:17:9
2+
--> $DIR/issue-32829-2.rs:17:9
33
|
44
LL | 5;
55
| ^
66
|
77
= help: add #![feature(const_let)] to the crate attributes to enable
88

99
error[E0015]: calls in constants are limited to constant functions, tuple structs and tuple variants
10-
--> $DIR/issue32829.rs:25:9
10+
--> $DIR/issue-32829-2.rs:25:9
1111
|
1212
LL | invalid();
1313
| ^^^^^^^^^
1414

1515
error[E0658]: statements in constants are unstable (see issue #48821)
16-
--> $DIR/issue32829.rs:25:9
16+
--> $DIR/issue-32829-2.rs:25:9
1717
|
1818
LL | invalid();
1919
| ^^^^^^^^^
2020
|
2121
= help: add #![feature(const_let)] to the crate attributes to enable
2222

2323
error[E0658]: statements in constants are unstable (see issue #48821)
24-
--> $DIR/issue32829.rs:34:9
24+
--> $DIR/issue-32829-2.rs:34:9
2525
|
2626
LL | valid();
2727
| ^^^^^^^
2828
|
2929
= help: add #![feature(const_let)] to the crate attributes to enable
3030

3131
error[E0658]: statements in statics are unstable (see issue #48821)
32-
--> $DIR/issue32829.rs:42:9
32+
--> $DIR/issue-32829-2.rs:42:9
3333
|
3434
LL | 5;
3535
| ^
3636
|
3737
= help: add #![feature(const_let)] to the crate attributes to enable
3838

3939
error[E0015]: calls in statics are limited to constant functions, tuple structs and tuple variants
40-
--> $DIR/issue32829.rs:50:9
40+
--> $DIR/issue-32829-2.rs:50:9
4141
|
4242
LL | invalid();
4343
| ^^^^^^^^^
4444

4545
error[E0658]: statements in statics are unstable (see issue #48821)
46-
--> $DIR/issue32829.rs:50:9
46+
--> $DIR/issue-32829-2.rs:50:9
4747
|
4848
LL | invalid();
4949
| ^^^^^^^^^
5050
|
5151
= help: add #![feature(const_let)] to the crate attributes to enable
5252

5353
error[E0658]: statements in statics are unstable (see issue #48821)
54-
--> $DIR/issue32829.rs:59:9
54+
--> $DIR/issue-32829-2.rs:59:9
5555
|
5656
LL | valid();
5757
| ^^^^^^^
5858
|
5959
= help: add #![feature(const_let)] to the crate attributes to enable
6060

6161
error[E0658]: statements in statics are unstable (see issue #48821)
62-
--> $DIR/issue32829.rs:67:9
62+
--> $DIR/issue-32829-2.rs:67:9
6363
|
6464
LL | 5;
6565
| ^
6666
|
6767
= help: add #![feature(const_let)] to the crate attributes to enable
6868

6969
error[E0015]: calls in statics are limited to constant functions, tuple structs and tuple variants
70-
--> $DIR/issue32829.rs:75:9
70+
--> $DIR/issue-32829-2.rs:75:9
7171
|
7272
LL | invalid();
7373
| ^^^^^^^^^
7474

7575
error[E0658]: statements in statics are unstable (see issue #48821)
76-
--> $DIR/issue32829.rs:75:9
76+
--> $DIR/issue-32829-2.rs:75:9
7777
|
7878
LL | invalid();
7979
| ^^^^^^^^^
8080
|
8181
= help: add #![feature(const_let)] to the crate attributes to enable
8282

8383
error[E0658]: statements in statics are unstable (see issue #48821)
84-
--> $DIR/issue32829.rs:84:9
84+
--> $DIR/issue-32829-2.rs:84:9
8585
|
8686
LL | valid();
8787
| ^^^^^^^

src/test/ui/issues/issue-38875/issue_38875.rs renamed to src/test/ui/issues/issue-38875/issue-38875.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
// option. This file may not be copied, modified, or distributed
99
// except according to those terms.
1010

11-
// aux-build:issue_38875_b.rs
11+
// aux-build:issue-38875-b.rs
1212
// compile-pass
1313

1414
extern crate issue_38875_b;
File renamed without changes.

src/test/ui/issues/issue-41549.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
// option. This file may not be copied, modified, or distributed
99
// except according to those terms.
1010

11-
// aux-build:issue_41549.rs
11+
// aux-build:issue-41549.rs
1212

1313

1414
extern crate issue_41549;

src/test/ui/issues/issue-41652/issue_41652.rs renamed to src/test/ui/issues/issue-41652/issue-41652.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
// option. This file may not be copied, modified, or distributed
99
// except according to those terms.
1010

11-
// aux-build:issue_41652_b.rs
11+
// aux-build:issue-41652-b.rs
1212

1313
extern crate issue_41652_b;
1414

src/test/ui/issues/issue-41652/issue_41652.stderr renamed to src/test/ui/issues/issue-41652/issue-41652.stderr

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

src/test/ui/issues/issue-43189.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@
1212
// paths rooted from `std` to be misrendered in the diagnostic output.
1313

1414
// ignore-windows
15-
// aux-build:xcrate_issue_43189_a.rs
16-
// aux-build:xcrate_issue_43189_b.rs
15+
// aux-build:xcrate-issue-43189-a.rs
16+
// aux-build:xcrate-issue-43189-b.rs
1717

1818
extern crate xcrate_issue_43189_b;
1919
fn main() {

src/test/ui/issues/issue-45829/rename-extern-vs-use.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
// option. This file may not be copied, modified, or distributed
99
// except according to those terms.
1010

11-
// aux-build:issue_45829_b.rs
11+
// aux-build:issue-45829-b.rs
1212

1313
mod foo {
1414
pub mod bar {}

src/test/ui/issues/issue-45829/rename-extern-with-tab.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88
// option. This file may not be copied, modified, or distributed
99
// except according to those terms.
1010

11-
// aux-build:issue_45829_a.rs
12-
// aux-build:issue_45829_b.rs
11+
// aux-build:issue-45829-a.rs
12+
// aux-build:issue-45829-b.rs
1313

1414
extern crate issue_45829_a;
1515
extern crate issue_45829_b as issue_45829_a;

src/test/ui/issues/issue-45829/rename-extern.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88
// option. This file may not be copied, modified, or distributed
99
// except according to those terms.
1010

11-
// aux-build:issue_45829_a.rs
12-
// aux-build:issue_45829_b.rs
11+
// aux-build:issue-45829-a.rs
12+
// aux-build:issue-45829-b.rs
1313

1414
extern crate issue_45829_a;
1515
extern crate issue_45829_b as issue_45829_a;

src/test/ui/issues/issue-45829/rename-use-vs-extern.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
// option. This file may not be copied, modified, or distributed
99
// except according to those terms.
1010

11-
// aux-build:issue_45829_b.rs
11+
// aux-build:issue-45829-b.rs
1212

1313
extern crate issue_45829_b;
1414
use std as issue_45829_b;

src/test/ui/issues/issue-46112.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
// paths rooted from `std` to be misrendered in the diagnostic output.
1313

1414
// ignore-windows
15-
// aux-build:xcrate_issue_46112_rexport_core.rs
15+
// aux-build:xcrate-issue-46112-rexport-core.rs
1616

1717
extern crate xcrate_issue_46112_rexport_core;
1818
fn test(r: Result<Option<()>, &'static str>) { }
File renamed without changes.

src/test/ui/issues/issue-50264-inner-deref-trait/option_deref.stderr renamed to src/test/ui/issues/issue-50264-inner-deref-trait/option-deref.stderr

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

src/test/ui/issues/issue-50264-inner-deref-trait/result_deref_err.stderr renamed to src/test/ui/issues/issue-50264-inner-deref-trait/result-deref-err.stderr

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

src/test/ui/issues/issue-50264-inner-deref-trait/result_deref_ok.stderr renamed to src/test/ui/issues/issue-50264-inner-deref-trait/result-deref-ok.stderr

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

src/test/ui/issues/issue-50264-inner-deref-trait/result_deref.stderr renamed to src/test/ui/issues/issue-50264-inner-deref-trait/result-deref.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
error[E0599]: no method named `deref` found for type `std::result::Result<{integer}, _>` in the current scope
2-
--> $DIR/result_deref.rs:14:27
2+
--> $DIR/result-deref.rs:14:27
33
|
44
LL | let _result = &Ok(42).deref();
55
| ^^^^^
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.

src/test/ui/issues/issue-5844.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
// option. This file may not be copied, modified, or distributed
99
// except according to those terms.
1010

11-
//aux-build:issue_5844_aux.rs
11+
//aux-build:issue-5844-aux.rs
1212

1313
extern crate issue_5844_aux;
1414

0 commit comments

Comments
 (0)