diff options
| author | Steven Tang <yc@steventang.net> | 2022-11-22 17:09:47 +1100 |
|---|---|---|
| committer | Steven Tang <yc@steventang.net> | 2022-11-22 17:44:38 +1100 |
| commit | 7169c7d1051a235d76eb24d704f19c1928abf383 (patch) | |
| tree | b4f17192a79e3adc7a5b79d7a2b03e5fc693af45 /compiler/rustc_metadata/src | |
| parent | 395f2b84e6fd4be029cb5af5559505cbc2c79983 (diff) | |
| download | rust-7169c7d1051a235d76eb24d704f19c1928abf383.tar.gz rust-7169c7d1051a235d76eb24d704f19c1928abf383.zip | |
Tests for bad --extern library path and file
Diffstat (limited to 'compiler/rustc_metadata/src')
| -rw-r--r-- | compiler/rustc_metadata/src/locator.rs | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/compiler/rustc_metadata/src/locator.rs b/compiler/rustc_metadata/src/locator.rs index 046125a985a..15546092e41 100644 --- a/compiler/rustc_metadata/src/locator.rs +++ b/compiler/rustc_metadata/src/locator.rs @@ -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 { |
