Tests for bad --extern library path and file
This commit is contained in:
parent
395f2b84e6
commit
7169c7d105
5 changed files with 41 additions and 1 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue