// report the error around the `vec!` not inside `<std macros>:`
let span = arg.span
.ctxt()
- .outer_expn_info()
- .map(|info| info.call_site)
- .expect("unable to get call_site")
+ .outer_expn_data()
+ .call_site
.ctxt()
- .outer_expn_info()
- .map(|info| info.call_site)
- .expect("unable to get call_site");
+ .outer_expn_data()
+ .call_site;
check_vec_macro(cx, &vec_args, span);
}
}