Skip to content

Conversation

reddevilmidzy
Copy link
Contributor

@reddevilmidzy reddevilmidzy commented Oct 7, 2025

This PR updates diagnostic messages to use "file module" instead of "non-inline module". because the term "non-inline module" can be confusing, especially for non-native English speakers.

follow up PR #147395
related of #147314, #general > Rename "non-inline modules" to "external modules"

cc @Kivooeo

@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 Oct 7, 2025
@rustbot
Copy link
Collaborator

rustbot commented Oct 7, 2025

r? @fee1-dead

rustbot has assigned @fee1-dead.
They will have a look at your PR within the next two weeks and either review your PR or reassign to another reviewer.

Use r? to explicitly pick a reviewer

@rust-log-analyzer

This comment has been minimized.

@reddevilmidzy reddevilmidzy force-pushed the rename-non-inline-module-in-msg branch from 9336dfa to 132efa7 Compare October 7, 2025 11:21
## `tests/ui/directory_ownership/`: Declaring `mod` inside a block

Exercises diagnostics for when a code block attempts to gain ownership of a non-inline module with a `mod` keyword placed inside of it.
Exercises diagnostics for when a code block attempts to gain ownership of a file module with a `mod` keyword placed inside of it.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is internal facing, so people reading it should probably have an idea of what a non-inline module means already.

The rest of the changes proposed here looks fine to me for diagnostics, but if we want to collectively rename (decide as a project what is the best name) it to "file module"s I feel like needs more discussion. So I propose reverting this change specifically in this file and I'd approve.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Agreed, reverted the change as suggested!

@rustbot rustbot added S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Oct 17, 2025
@reddevilmidzy reddevilmidzy force-pushed the rename-non-inline-module-in-msg branch from 132efa7 to a1a9113 Compare October 18, 2025 02:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.

4 participants