mv codemap source_map

This commit is contained in:
Donato Sciarra 2018-08-18 12:14:14 +02:00
parent d3fe97f3d3
commit 062bfbf39b
28 changed files with 130 additions and 130 deletions

View file

@ -9,7 +9,7 @@
// except according to those terms.
// This test makes sure that it doesn't make a difference in which order we are
// adding source files to the codemap. The order affects the BytePos values of
// adding source files to the source_map. The order affects the BytePos values of
// the spans and this test makes sure that we handle them correctly by hashing
// file:line:column instead of raw byte offset.

View file

@ -54,7 +54,7 @@ impl<'a, 'tcx> LateLintPass<'a, 'tcx> for MissingWhitelistedAttrPass {
_: intravisit::FnKind<'tcx>,
_: &'tcx hir::FnDecl,
_: &'tcx hir::Body,
span: codemap::Span,
span: source_map::Span,
id: ast::NodeId) {
let item = match cx.tcx.hir.get(id) {

View file

@ -8,7 +8,7 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.
// Tests that empty codemaps don't ICE (#23301)
// Tests that empty source_maps don't ICE (#23301)
// compile-flags: --cfg ""

View file

@ -8,7 +8,7 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.
// Testing that the codemap is maintained correctly when parsing mods from external files
// Testing that the source_map is maintained correctly when parsing mods from external files
mod mod_file_aux;