-
Notifications
You must be signed in to change notification settings - Fork 12.8k
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 #48070 #48988
Add a test for #48070 #48988
Conversation
Resolves rust-lang#48070. The bug itself was fixed by rust-lang#48770, but that PR didn't add a test for it.
src/test/run-pass/issue-48070.rs
Outdated
@@ -0,0 +1,34 @@ | |||
// Copyright 2018 The Rust Project Developers. See the COPYRIGHT |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can you rename this file to run-pass/nll/issue-48070.rs
?
Or, better yet, ui/nll/issue-48070.rs
? (In that case, you would add a // run-pass
comment in the header)
I have moved the test to |
@bors r+ rollup |
📌 Commit 52bb99d has been approved by |
…atsakis Add a test for rust-lang#48070 Resolves rust-lang#48070. The bug itself was fixed by rust-lang#48770, but that PR didn't add a test for it. r? @nikomatsakis
Resolves #48070.
The bug itself was fixed by #48770, but that PR didn't add a test for it.
r? @nikomatsakis