File tree 10 files changed +11
-9
lines changed
10 files changed +11
-9
lines changed Original file line number Diff line number Diff line change 2
2
//@ aux-build:crateresolve1-2.rs
3
3
//@ aux-build:crateresolve1-3.rs
4
4
5
- //@ normalize-stderr: "\.nll/ " -> "/"
5
+ //@ normalize-stderr: "crateresolve1\..+/auxiliary/ " -> "crateresolve1/auxiliary /"
6
6
//@ normalize-stderr: "\\\?\\" -> ""
7
7
//@ normalize-stderr: "(lib)?crateresolve1-([123])\.[a-z]+" -> "libcrateresolve1-$2.somelib"
8
8
9
- // NOTE: This test is duplicated at `tests/ui/error-codes/E0464.rs`.
9
+ // NOTE: This test is duplicated at `tests/ui/error-codes/E0464.rs` and `E0523.rs` .
10
10
11
11
extern crate crateresolve1;
12
12
//~^ ERROR multiple candidates for `rlib` dependency `crateresolve1` found
Original file line number Diff line number Diff line change 4
4
//@ aux-build:crateresolve2-2.rs
5
5
//@ aux-build:crateresolve2-3.rs
6
6
7
- //@ normalize-stderr: "\.nll/ " -> "/"
7
+ //@ normalize-stderr: "crateresolve2\..+/auxiliary/ " -> "crateresolve2/auxiliary /"
8
8
//@ normalize-stderr: "\\\?\\" -> ""
9
9
10
10
extern crate crateresolve2;
Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ note: expected this to be `Foo`
15
15
LL | type Error = E;
16
16
| ^
17
17
= note: required for the cast from `Box<Result<..., ()>>` to `Box<...>`
18
- = note: the full name for the type has been written to '$TEST_BUILD_DIR/diagnostic-width/E0271.ascii/E0271 .long-type-hash.txt'
18
+ = note: the full name for the type has been written to '$TEST_BUILD_DIR/$FILE .long-type-hash.txt'
19
19
= note: consider using `--verbose` to print the full type name to the console
20
20
21
21
error: aborting due to 1 previous error
Original file line number Diff line number Diff line change 1
1
//@ revisions: ascii unicode
2
2
//@[ascii] compile-flags: --diagnostic-width=40 -Zwrite-long-types-to-disk=yes
3
3
//@[unicode] compile-flags: -Zunstable-options --error-format=human-unicode --diagnostic-width=40 -Zwrite-long-types-to-disk=yes
4
- //@ normalize-stderr: "long-type-\d+" -> "long-type-hash"
4
+ //@ normalize-stderr: "'\$TEST_BUILD_DIR/.*\. long-type-\d+.txt' " -> "'$$TEST_BUILD_DIR/$$FILE. long-type-hash.txt' "
5
5
trait Future {
6
6
type Error ;
7
7
}
Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ note: expected this to be `Foo`
15
15
LL │ type Error = E;
16
16
│ ━
17
17
├ note: required for the cast from `Box<Result<..., ()>>` to `Box<...>`
18
- ├ note: the full name for the type has been written to '$TEST_BUILD_DIR/diagnostic-width/E0271.unicode/E0271 .long-type-hash.txt'
18
+ ├ note: the full name for the type has been written to '$TEST_BUILD_DIR/$FILE .long-type-hash.txt'
19
19
╰ note: consider using `--verbose` to print the full type name to the console
20
20
21
21
error: aborting due to 1 previous error
Original file line number Diff line number Diff line change 1
1
//@ aux-build:found-staticlib.rs
2
2
3
- //@ normalize-stderr: "\.nll/ " -> "/"
3
+ //@ normalize-stderr: "E0462\..+/auxiliary/ " -> "E0462/auxiliary /"
4
4
//@ normalize-stderr: "\\\?\\" -> ""
5
5
//@ normalize-stderr: "(lib)?found_staticlib\.[a-z]+" -> "libfound_staticlib.somelib"
6
6
Original file line number Diff line number Diff line change 2
2
//@ aux-build:crateresolve1-2.rs
3
3
//@ aux-build:crateresolve1-3.rs
4
4
5
- //@ normalize-stderr: "\.nll/ " -> "/"
5
+ //@ normalize-stderr: "E0464\..+/auxiliary/ " -> "E0464/auxiliary /"
6
6
//@ normalize-stderr: "\\\?\\" -> ""
7
7
//@ normalize-stderr: "(lib)?crateresolve1-([123])\.[a-z]+" -> "libcrateresolve1-$2.somelib"
8
8
Original file line number Diff line number Diff line change 2
2
//@ aux-build:crateresolve1-2.rs
3
3
//@ aux-build:crateresolve1-3.rs
4
4
5
- //@ normalize-stderr: "\.nll/ " -> "/"
5
+ //@ normalize-stderr: "E0523\..+/auxiliary/ " -> "E0523/auxiliary /"
6
6
//@ normalize-stderr: "\\\?\\" -> ""
7
7
//@ normalize-stderr: "(lib)?crateresolve1-([123])\.[a-z]+" -> "libcrateresolve1-$2.somelib"
8
8
Original file line number Diff line number Diff line change 1
1
//@ build-pass
2
2
//@ ignore-pass (different metadata emitted in different modes)
3
3
//@ compile-flags: --json=diagnostic-short --json artifacts --error-format=json
4
+ //@ normalize-stderr: "json-multiple\..+/libjson_multiple.rlib" -> "json-multiple/libjson_multiple.rlib"
4
5
5
6
#![ crate_type = "lib" ]
Original file line number Diff line number Diff line change 1
1
//@ build-pass
2
2
//@ ignore-pass (different metadata emitted in different modes)
3
3
//@ compile-flags: --json=diagnostic-short,artifacts --error-format=json
4
+ //@ normalize-stderr: "json-options\..+/libjson_options.rlib" -> "json-options/libjson_options.rlib"
4
5
5
6
#![ crate_type = "lib" ]
You can’t perform that action at this time.
0 commit comments