File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed
tests/ui/diagnostic-width Expand file tree Collapse file tree 3 files changed +3
-3
lines changed 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
You can’t perform that action at this time.
0 commit comments