Respond to PR comments.
This commit is contained in:
parent
ab1f8ed2d9
commit
7ac62ce75c
@ -54,7 +54,14 @@ fn check_for_debugger_visualizer<'tcx>(
|
|||||||
debugger_visualizers
|
debugger_visualizers
|
||||||
.insert(DebuggerVisualizerFile::new(Arc::from(contents), visualizer_type));
|
.insert(DebuggerVisualizerFile::new(Arc::from(contents), visualizer_type));
|
||||||
}
|
}
|
||||||
_ => {}
|
Err(err) => {
|
||||||
|
tcx.sess
|
||||||
|
.struct_span_err(
|
||||||
|
meta_item.span,
|
||||||
|
&format!("couldn't read {}: {}", file.display(), err),
|
||||||
|
)
|
||||||
|
.emit();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user