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

Add a test for #105364 #105562

Closed
wants to merge 1 commit into from
Closed

Add a test for #105364 #105562

wants to merge 1 commit into from

Conversation

TaKO8Ki
Copy link
Member

@TaKO8Ki TaKO8Ki commented Dec 11, 2022

closes #105364

@rustbot
Copy link
Collaborator

rustbot commented Dec 11, 2022

r? @eholk

(rustbot has picked a reviewer for you, use r? to override)

@rustbot rustbot added S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. labels Dec 11, 2022
@compiler-errors
Copy link
Member

compiler-errors commented Dec 11, 2022

#105364 is a duplicate of #105288, which already has a test here:

fn main() {
let page_size = page_size::get();
//~^ ERROR failed to resolve: use of undeclared crate or module `page_size`
}

I don't think this needs a basically identical test.

@TaKO8Ki
Copy link
Member Author

TaKO8Ki commented Dec 12, 2022

@compiler-errors I missed the comment #105364 (comment), so I will close this pull request.

@TaKO8Ki TaKO8Ki closed this Dec 12, 2022
@TaKO8Ki TaKO8Ki deleted the fix-105364 branch December 12, 2022 02:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Compiler Error when creating a variable with a function from a module of the same name that doesn't exist
4 participants