-
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
Test function can't have same name as a module in the same scope #18627
Labels
A-libtest
Area: `#[test]` / the `test` library
C-bug
Category: This is a bug.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
Comments
sfackler
added
the
A-testsuite
Area: The testsuite used to check the correctness of rustc
label
Nov 4, 2014
This compiles today! |
petrochenkov
added
E-easy
Call for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.
E-needs-test
Call for participation: An issue has been fixed and does not reproduce, but no test has been added.
and removed
A-testsuite
Area: The testsuite used to check the correctness of rustc
A-tools
labels
Mar 1, 2017
Hm, this is not actually fixed. |
petrochenkov
added
A-testsuite
Area: The testsuite used to check the correctness of rustc
A-tools
and removed
E-easy
Call for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.
E-needs-test
Call for participation: An issue has been fixed and does not reproduce, but no test has been added.
labels
Mar 5, 2017
alexcrichton
added
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
and removed
T-tools
labels
May 22, 2017
Mark-Simulacrum
added
C-bug
Category: This is a bug.
A-libtest
Area: `#[test]` / the `test` library
and removed
A-testsuite
Area: The testsuite used to check the correctness of rustc
labels
Jul 22, 2017
Triage: still fails |
Seems to have been fixed, probably due to custom test frameworks and/or more hygienic and better test expansion. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
A-libtest
Area: `#[test]` / the `test` library
C-bug
Category: This is a bug.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
STR
Output
If you expand the file, you can see the collision:
Version
The text was updated successfully, but these errors were encountered: