-
Notifications
You must be signed in to change notification settings - Fork 13.3k
Rename CodeMap/FileMap to SourceMap/SourceFile. #51574
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
Comments
I can take this up. |
What about structs like |
@abhijeetbhagat |
should the module codemap also be renamed? |
Yeah, any combination of the words "code" and "map" should. |
Right. Changing that too. |
Rename CodeMap/FileMap to SourceMap/SourceFile A first renaming for #51574
With the merge, it's unclear to me whether this is an older issue that needs closing, or if there is more work to do. A quick search seems to show the following occurences still:
If this issue is still considered open, does that reflect that that these should be renamed as well?
|
I assume this is done after #55190? |
I came across over this instance of rust/src/librustc_errors/lib.rs Line 149 in e6ec0d1
So we might need to do another pass just for easier to miss things like |
Rename CodeMap to SourceMap follow up See rust-lang#51574
Looks done after #69375 |
The name
FileMap
always seemed a bit jarring, and I think this would be an improvement.cc @nikomatsakis @nrc
The text was updated successfully, but these errors were encountered: