-
Notifications
You must be signed in to change notification settings - Fork 13.2k
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
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
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: