Skip to content

Commit

Permalink
Normalize line+col in normalize-tait-in-const test
Browse files Browse the repository at this point in the history
  • Loading branch information
eggyal committed Feb 22, 2023
1 parent 695072d commit a9b2354
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions tests/ui/impl-trait/normalize-tait-in-const.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
// failure-status: 101
// normalize-stderr-test "note: .*\n\n" -> ""
// normalize-stderr-test "thread 'rustc' panicked.*\n" -> ""
// normalize-stderr-test "(error: internal compiler error: [^:]+):\d+:\d+: " -> "$1:LL:CC: "
// rustc-env:RUST_BACKTRACE=0

#![feature(type_alias_impl_trait)]
Expand Down
2 changes: 1 addition & 1 deletion tests/ui/impl-trait/normalize-tait-in-const.stderr
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
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
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

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

0 comments on commit a9b2354

Please sign in to comment.