Use local and remapped paths where appropriate
This commit is contained in:
@@ -1080,7 +1080,10 @@ impl<'a> ExtCtxt<'a> {
|
||||
other => {
|
||||
return Err(self.struct_span_err(
|
||||
span,
|
||||
&format!("cannot resolve relative path in non-file source `{}`", other),
|
||||
&format!(
|
||||
"cannot resolve relative path in non-file source `{}`",
|
||||
other.prefer_local()
|
||||
),
|
||||
));
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user