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