Fix rebase
This commit is contained in:
parent
0a4ecf3438
commit
81394ce9ae
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user