Make debug message about resolving extern crate
statements more helpful
This commit is contained in:
parent
06c0b1d28a
commit
f9888ac339
@ -145,7 +145,7 @@ fn extract_crate_info(e: &Env, i: &ast::ViewItem) -> Option<CrateInfo> {
|
||||
match i.node {
|
||||
ast::ViewItemExternCrate(ident, ref path_opt, id) => {
|
||||
let ident = token::get_ident(ident);
|
||||
debug!("resolving extern crate stmt. ident: {:?} path_opt: {:?}",
|
||||
debug!("resolving extern crate stmt. ident: {} path_opt: {}",
|
||||
ident, path_opt);
|
||||
let name = match *path_opt {
|
||||
Some((ref path_str, _)) => {
|
||||
|
Loading…
x
Reference in New Issue
Block a user