Skip to content

Error when forgetting a :: when specializing a generic is confusing #1187

Closed
@jdm

Description

@jdm

If there's no way to fix this, so be it, but it would be nice to have a heuristic that could help the user figure out what's going on.

../src/comp/middle/debuginfo.rs:61:44: 61:52 error: unresolved name: ValueRef
../src/comp/middle/debuginfo.rs:61     unsafe::reinterpret_cast(std::ptr::null<ValueRef>())
                                                                               ^~~~~~~~

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-frontendArea: Compiler frontend (errors, parsing and HIR)A-resolveArea: Name/path resolution done by `rustc_resolve` specifically

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions