Skip to content

Commit 38d549b

Browse files
committed
Bless UI tests
1 parent cdf9fc1 commit 38d549b

36 files changed

+40
-81
lines changed

tests/ui/asm/unpretty-expanded.stdout

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
#![feature(prelude_import)]
22
#![no_std]
3-
#[prelude_import]
4-
use ::std::prelude::rust_2015::*;
53
extern crate std;
64
#[prelude_import]
75
use ::std::prelude::rust_2015::*;

tests/ui/associated-type-bounds/return-type-notation/unpretty-parenthesized.stdout

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
11
#![feature(prelude_import)]
2-
#[prelude_import]
3-
use std::prelude::rust_2021::*;
42
extern crate std;
53
#[prelude_import]
64
use std::prelude::rust_2021::*;

tests/ui/codemap_tests/unicode.expanded.stdout

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
#![feature(prelude_import)]
22
#![no_std]
3-
#[prelude_import]
4-
use ::std::prelude::rust_2015::*;
53
extern crate std;
64
#[prelude_import]
75
use ::std::prelude::rust_2015::*;

tests/ui/const-generics/defaults/pretty-printing-ast.stdout

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,6 @@
66
//@ edition: 2015
77

88
#![crate_type = "lib"]
9-
#[prelude_import]
10-
use ::std::prelude::rust_2015::*;
119
extern crate std;
1210
#[prelude_import]
1311
use ::std::prelude::rust_2015::*;

tests/ui/deriving/built-in-proc-macro-scope.stdout

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,6 @@
66
//@ edition:2015
77

88
#![feature(derive_coerce_pointee)]
9-
#[prelude_import]
10-
use ::std::prelude::rust_2015::*;
119
extern crate std;
1210
#[prelude_import]
1311
use ::std::prelude::rust_2015::*;

tests/ui/deriving/deriving-all-codegen.stdout

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,6 @@
1717
#![crate_type = "lib"]
1818
#![allow(dead_code)]
1919
#![allow(deprecated)]
20-
#[prelude_import]
21-
use std::prelude::rust_2021::*;
2220
extern crate std;
2321
#[prelude_import]
2422
use std::prelude::rust_2021::*;

tests/ui/deriving/deriving-coerce-pointee-expanded.stdout

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,6 @@
44
//@ compile-flags: -Zunpretty=expanded
55
//@ edition: 2015
66
#![feature(derive_coerce_pointee)]
7-
#[prelude_import]
8-
use ::std::prelude::rust_2015::*;
97
extern crate std;
108
#[prelude_import]
119
use ::std::prelude::rust_2015::*;

tests/ui/deriving/proc-macro-attribute-mixing.stdout

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,6 @@
1212
//@ edition: 2015
1313

1414
#![feature(derive_coerce_pointee)]
15-
#[prelude_import]
16-
use ::std::prelude::rust_2015::*;
1715
extern crate std;
1816
#[prelude_import]
1917
use ::std::prelude::rust_2015::*;
Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,21 @@
11
error[E0658]: use of unstable library feature `format_args_nl`: `format_args_nl` is only for internal language use and is subject to change
2-
--> $DIR/feature-gate-format_args_nl.rs:2:5
2+
--> $DIR/feature-gate-format_args_nl.rs:4:5
33
|
44
LL | format_args_nl!("");
55
| ^^^^^^^^^^^^^^
66
|
77
= help: add `#![feature(format_args_nl)]` to the crate attributes to enable
88
= note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date
99

10-
error: aborting due to 1 previous error
10+
error[E0658]: use of unstable library feature `format_args_nl`: `format_args_nl` is only for internal language use and is subject to change
11+
--> $DIR/feature-gate-format_args_nl.rs:1:5
12+
|
13+
LL | use std::format_args_nl;
14+
| ^^^^^^^^^^^^^^^^^^^
15+
|
16+
= help: add `#![feature(format_args_nl)]` to the crate attributes to enable
17+
= note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date
18+
19+
error: aborting due to 2 previous errors
1120

1221
For more information about this error, try `rustc --explain E0658`.

tests/ui/imports/glob-shadowing.stderr

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,15 @@ LL | let x = env!("PATH");
55
| ^^^ ambiguous name
66
|
77
= note: ambiguous because of a conflict between a name from a glob import and an outer scope during import or macro resolution
8-
= note: `env` could refer to a macro from prelude
9-
note: `env` could also refer to the macro imported here
8+
note: `env` could refer to the macro imported here
109
--> $DIR/glob-shadowing.rs:9:9
1110
|
1211
LL | use crate::m::*;
1312
| ^^^^^^^^^^^
1413
= help: consider adding an explicit import of `env` to disambiguate
1514
= help: or use `self::env` to refer to this macro unambiguously
15+
note: `env` could also refer to a macro from prelude
16+
--> $SRC_DIR/std/src/prelude/mod.rs:LL:COL
1617

1718
error[E0659]: `env` is ambiguous
1819
--> $DIR/glob-shadowing.rs:19:21
@@ -21,13 +22,14 @@ LL | let x = env!("PATH");
2122
| ^^^ ambiguous name
2223
|
2324
= note: ambiguous because of a conflict between a name from a glob import and an outer scope during import or macro resolution
24-
= note: `env` could refer to a macro from prelude
25-
note: `env` could also refer to the macro imported here
25+
note: `env` could refer to the macro imported here
2626
--> $DIR/glob-shadowing.rs:17:13
2727
|
2828
LL | use crate::m::*;
2929
| ^^^^^^^^^^^
3030
= help: consider adding an explicit import of `env` to disambiguate
31+
note: `env` could also refer to a macro from prelude
32+
--> $SRC_DIR/std/src/prelude/mod.rs:LL:COL
3133

3234
error[E0659]: `fenv` is ambiguous
3335
--> $DIR/glob-shadowing.rs:29:21

0 commit comments

Comments
 (0)