This repository was archived by the owner on May 28, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 10 files changed +11
-9
lines changed Expand file tree Collapse file tree 10 files changed +11
-9
lines changed Original file line number Diff line number Diff line change 22//@ aux-build:crateresolve1-2.rs
33//@ aux-build:crateresolve1-3.rs
44
5- //@ normalize-stderr: "\.nll/ " -> "/"
5+ //@ normalize-stderr: "crateresolve1\..+/auxiliary/ " -> "crateresolve1/auxiliary /"
66//@ normalize-stderr: "\\\?\\" -> ""
77//@ normalize-stderr: "(lib)?crateresolve1-([123])\.[a-z]+" -> "libcrateresolve1-$2.somelib"
88
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` .
1010
1111extern crate crateresolve1;
1212//~^ ERROR multiple candidates for `rlib` dependency `crateresolve1` found
Original file line number Diff line number Diff line change 44//@ aux-build:crateresolve2-2.rs
55//@ aux-build:crateresolve2-3.rs
66
7- //@ normalize-stderr: "\.nll/ " -> "/"
7+ //@ normalize-stderr: "crateresolve2\..+/auxiliary/ " -> "crateresolve2/auxiliary /"
88//@ normalize-stderr: "\\\?\\" -> ""
99
1010extern crate crateresolve2;
Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ note: expected this to be `Foo`
1515LL | type Error = E;
1616 | ^
1717 = 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'
1919 = note: consider using `--verbose` to print the full type name to the console
2020
2121error: aborting due to 1 previous error
Original file line number Diff line number Diff line change 11//@ revisions: ascii unicode
22//@[ascii] compile-flags: --diagnostic-width=40 -Zwrite-long-types-to-disk=yes
33//@[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' "
55trait Future {
66 type Error ;
77}
Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ note: expected this to be `Foo`
1515LL │ type Error = E;
1616 │ ━
1717 ├ 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'
1919 ╰ note: consider using `--verbose` to print the full type name to the console
2020
2121error: aborting due to 1 previous error
Original file line number Diff line number Diff line change 11//@ aux-build:found-staticlib.rs
22
3- //@ normalize-stderr: "\.nll/ " -> "/"
3+ //@ normalize-stderr: "E0462\..+/auxiliary/ " -> "E0462/auxiliary /"
44//@ normalize-stderr: "\\\?\\" -> ""
55//@ normalize-stderr: "(lib)?found_staticlib\.[a-z]+" -> "libfound_staticlib.somelib"
66
Original file line number Diff line number Diff line change 22//@ aux-build:crateresolve1-2.rs
33//@ aux-build:crateresolve1-3.rs
44
5- //@ normalize-stderr: "\.nll/ " -> "/"
5+ //@ normalize-stderr: "E0464\..+/auxiliary/ " -> "E0464/auxiliary /"
66//@ normalize-stderr: "\\\?\\" -> ""
77//@ normalize-stderr: "(lib)?crateresolve1-([123])\.[a-z]+" -> "libcrateresolve1-$2.somelib"
88
Original file line number Diff line number Diff line change 22//@ aux-build:crateresolve1-2.rs
33//@ aux-build:crateresolve1-3.rs
44
5- //@ normalize-stderr: "\.nll/ " -> "/"
5+ //@ normalize-stderr: "E0523\..+/auxiliary/ " -> "E0523/auxiliary /"
66//@ normalize-stderr: "\\\?\\" -> ""
77//@ normalize-stderr: "(lib)?crateresolve1-([123])\.[a-z]+" -> "libcrateresolve1-$2.somelib"
88
Original file line number Diff line number Diff line change 11//@ build-pass
22//@ ignore-pass (different metadata emitted in different modes)
33//@ compile-flags: --json=diagnostic-short --json artifacts --error-format=json
4+ //@ normalize-stderr: "json-multiple\..+/libjson_multiple.rlib" -> "json-multiple/libjson_multiple.rlib"
45
56#![ crate_type = "lib" ]
Original file line number Diff line number Diff line change 11//@ build-pass
22//@ ignore-pass (different metadata emitted in different modes)
33//@ compile-flags: --json=diagnostic-short,artifacts --error-format=json
4+ //@ normalize-stderr: "json-options\..+/libjson_options.rlib" -> "json-options/libjson_options.rlib"
45
56#![ crate_type = "lib" ]
You can’t perform that action at this time.
0 commit comments