Skip to content

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

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>())
                                                                               ^~~~~~~~

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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