Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Name resolution 2.0 fails to lookup types when called with module path #2939

Open
CohenArthur opened this issue Apr 4, 2024 · 0 comments
Open

Comments

@CohenArthur
Copy link
Member

mod foo {
    struct Foo {
        a: i32,
    }
}

fn main() {
    let foo = foo::Foo { a: 15 };
}

When compiled with -frust-name-resolution-2.0 this fails with a 456 reverse lookup failure, which indicates we did not setup the name resolution context properly for that case.

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

No branches or pull requests

1 participant