Fix rebase

This commit is contained in:
Esteban Küber 2019-03-16 18:36:47 -07:00
parent 0a4ecf3438
commit 81394ce9ae

View File

@ -74,7 +74,7 @@ fn visit_item(&mut self, it: &'tcx hir::Item) {
"dylib" => cstore::NativeUnknown,
"framework" => cstore::NativeFramework,
k => {
struct_span_err!(self.tcx.sess, item.span, E0458,
struct_span_err!(self.tcx.sess, item.span(), E0458,
"unknown kind: `{}`", k)
.span_label(item.span(), "unknown kind")
.span_label(m.span, "").emit();