Skip to content

ICE locations display regressed #150209

@matthiaskrgr

Description

@matthiaskrgr

we now have this weird /rustc-dev/${HASH}/ prefix:

previously

error: internal compiler error: compiler/rustc_middle/src/ty/instance.rs:579:21: failed to resolve instance for <fn(FooImpl, ()) as FooFn>::bar
  --> /tmp/crash.rs:12:5
   |
12 |     fn bar(&self);
   |     ^^^^^^^^^^^^^^


thread 'rustc' (2638476) panicked at compiler/rustc_middle/src/ty/instance.rs:579:21:
Box<dyn Any>
stack backtrace:

since #150110 (cc @Urgau )

error: internal compiler error: /rustc-dev/806c2a35dcc1db7867864fea0a7a65554a5238b7/compiler/rustc_middle/src/ty/instance.rs:579:21: failed to resolve instance for <fn(FooImpl, ()) as FooFn>::bar
  --> 139120.rs:12:5
   |
12 |     fn bar(&self);
   |     ^^^^^^^^^^^^^^


thread 'rustc' (2634180) panicked at /rustc-dev/806c2a35dcc1db7867864fea0a7a65554a5238b7/compiler/rustc_middle/src/ty/instance.rs:579:21:
Box<dyn Any>
stack backtrace:

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-path-remappingArea: path remapping, --remap-path-prefix, --remap-cwd-prefix, --remap-diagnostics-scope etc.C-discussionCategory: Discussion or questions that doesn't represent real issues.T-compilerRelevant to the compiler team, which will review and decide on the PR/issue.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions