Tests for bad --extern library path and file
This commit is contained in:
@@ -1026,7 +1026,6 @@ impl CrateError {
|
||||
None => String::new(),
|
||||
Some(r) => format!(" which `{}` depends on", r.name),
|
||||
};
|
||||
// FIXME: There are no tests for CrateLocationUnknownType or LibFilenameForm
|
||||
if !locator.crate_rejections.via_filename.is_empty() {
|
||||
let mismatches = locator.crate_rejections.via_filename.iter();
|
||||
for CrateMismatch { path, .. } in mismatches {
|
||||
|
||||
Reference in New Issue
Block a user