You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Rename CodeMap/FileMap to SourceMap/SourceFile. #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:
MalformedForCodemap and MalformedCodemapPositions in src/libsyntax_pos/lib.rs and src/libsyntax/source_map.rs
pub use self::caching_codemap_view::CachingSourceMapView in src/librustc/ich/mod.rs
StableFilemapId in src/libsyntax/source_map.rs
If this issue is still considered open, does that reflect that that these should be renamed as well?
Activity
abhijeetbhagat commentedon Jun 15, 2018
I can take this up.
abhijeetbhagat commentedon Jun 22, 2018
What about structs like
FileMapAndLine?eddyb commentedon Jun 22, 2018
@abhijeetbhagat
SourceFileAndLinelooks fine to me.dsciarra commentedon Jul 30, 2018
should the module codemap also be renamed?
eddyb commentedon Jul 30, 2018
Yeah, any combination of the words "code" and "map" should.
abhijeetbhagat commentedon Jul 31, 2018
Right. Changing that too.
Auto merge of #52953 - dsciarra:mv-codemap-sourcemap, r=petrochenkov
jolson88 commentedon Oct 6, 2018
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:
MalformedForCodemapandMalformedCodemapPositionsinsrc/libsyntax_pos/lib.rsandsrc/libsyntax/source_map.rspub use self::caching_codemap_view::CachingSourceMapViewinsrc/librustc/ich/mod.rsStableFilemapIdinsrc/libsyntax/source_map.rsIf this issue is still considered open, does that reflect that that these should be renamed as well?
MalformedForCodemap->MalformedForSourceMapMalformedCodemapPositions->MalformedSourceMapPositionsself::caching_codemap_view->self::caching_source_map_viewStableFilemapId->StableSourceFileIdAuto merge of #55190 - dlavati:51574_rename_codemap_filemap, r=petroc…
eddyb commentedon Nov 3, 2018
I assume this is done after #55190?
eddyb commentedon Feb 10, 2020
I came across over this instance of
cmtoday: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
cm.Rollup merge of rust-lang#69375 - Menschenkindlein:master, r=Dylan-DPC
Alexendoo commentedon Apr 30, 2020
Looks done after #69375