-
Notifications
You must be signed in to change notification settings - Fork 13.4k
Rename some crates and modules in the frontend #67707
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
Conversation
TODO: Rename |
cc @eddyb |
Ideally that should be done soon tho because the new directory in the filesystem with the old crate name in code becomes confusing. @bors r+ |
📌 Commit a3eadd0ec1de4d003a5289fe8c830bae86b4c393 has been approved by |
☔ The latest upstream changes (presumably #67112) made this pull request unmergeable. Please resolve the merge conflicts. |
`syntax_expand` -> `rustc_expand` `syntax_pos` -> `rustc_span` `syntax_ext` -> `rustc_builtin_macros`
a3eadd0
to
7608f21
Compare
@bors r=Centril p=1 (conflict-prone) |
📌 Commit 7608f21 has been approved by |
Rename some crates and modules in the frontend Migrate from `syntax_*` naming scheme to `rustc_*`. See #65324 (comment) and several comments below. Renamed crates: `syntax_expand` -> `rustc_expand` `syntax_pos` -> `rustc_span` ([motivation](#65324 (comment))) `syntax_ext` -> `rustc_builtin_macros` Also one module in resolve is renamed for consistency and to avoid tautology. r? @Centril
☀️ Test successful - checks-azure |
Rustup to rust-lang/rust#67707 `syntax_pos` -> `rustc_span` changelog: none
Rustup to rust-lang/rust#67707 `syntax_pos` -> `rustc_span` changelog: none
Rustup to rust-lang/rust#67707 `syntax_pos` -> `rustc_span` changelog: none
Rustup to rust-lang/rust#67707 `syntax_pos` -> `rustc_span` changelog: none
syntax_pos was renamed to rustc_span rust-lang/rust#67707 and modules like `symbol` and `source_map` are no longer re-exported in libsyanx so we also need to consume them directly from the rustc_span crate rust-lang/rust#67786
Migrate from
syntax_*
naming scheme torustc_*
.See #65324 (comment) and several comments below.
Renamed crates:
syntax_expand
->rustc_expand
syntax_pos
->rustc_span
(motivation)syntax_ext
->rustc_builtin_macros
Also one module in resolve is renamed for consistency and to avoid tautology.
r? @Centril