-
Notifications
You must be signed in to change notification settings - Fork 13.3k
Test function can't have same name as a module in the same scope #18627
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
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
This compiles today! |
Hm, this is not actually fixed. |
Triage: still fails |
Seems to have been fixed, probably due to custom test frameworks and/or more hygienic and better test expansion. |
lnicola
pushed a commit
to lnicola/rust
that referenced
this issue
Dec 11, 2024
Improve heuristics for on typing semicolon insertion
# for free
to join this conversation on GitHub.
Already have an account?
# 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: