Skip to content

internal error: entered unreachable code when an import path is a symlink #2405

@twitchyliquid64

Description

@twitchyliquid64

Describe the bug
I switched over a directory which was a full directory to be a symlink to something 2 components down + across, and was greeted with all my tests failing with:

internal error: entered unreachable code: record type was Var(LocIdent { ident: `spec`, pos: Original(RawSpan { src_id: FileId(3), start: ByteIndex(798), end: ByteIndex(802) }), generated: false })

Its hard to trace with the whole internal error wrapping, but my best guess is that Cache::normalize_rel_path or Cache::normalize_abs_path is hitting the match arm for Prefix.

Anyways, ill switch back to using a directory for now.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions