mv codemap source_map
This commit is contained in:
parent
d3fe97f3d3
commit
062bfbf39b
28 changed files with 130 additions and 130 deletions
|
|
@ -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.
|
||||
|
||||
|
|
|
|||
|
|
@ -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) {
|
||||
|
|
|
|||
|
|
@ -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 ""
|
||||
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue