Skip to content

Commit a9b2354

Browse files
committed
Normalize line+col in normalize-tait-in-const test
1 parent 695072d commit a9b2354

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

Diff for: tests/ui/impl-trait/normalize-tait-in-const.rs

+1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
// failure-status: 101
33
// normalize-stderr-test "note: .*\n\n" -> ""
44
// normalize-stderr-test "thread 'rustc' panicked.*\n" -> ""
5+
// normalize-stderr-test "(error: internal compiler error: [^:]+):\d+:\d+: " -> "$1:LL:CC: "
56
// rustc-env:RUST_BACKTRACE=0
67

78
#![feature(type_alias_impl_trait)]

Diff for: tests/ui/impl-trait/normalize-tait-in-const.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
error: internal compiler error: compiler/rustc_middle/src/ty/normalize_erasing_regions.rs:198:90: Failed to normalize <for<'a, 'b> fn(&'a Alias<'b>) {foo} as std::ops::FnOnce<(&&S,)>>::Output, maybe try to call `try_normalize_erasing_regions` instead
1+
error: internal compiler error: compiler/rustc_middle/src/ty/normalize_erasing_regions.rs:LL:CC: Failed to normalize <for<'a, 'b> fn(&'a Alias<'b>) {foo} as std::ops::FnOnce<(&&S,)>>::Output, maybe try to call `try_normalize_erasing_regions` instead
22

33
query stack during panic:
44
#0 [eval_to_allocation_raw] const-evaluating + checking `BAR`

0 commit comments

Comments
 (0)