Simplify some redundant field names
This commit is contained in:
parent
636d7ff91b
commit
0b2525c787
16 changed files with 19 additions and 30 deletions
|
@ -1002,11 +1002,7 @@ impl CrateError {
|
|||
if !locator.crate_rejections.via_filename.is_empty() {
|
||||
let mismatches = locator.crate_rejections.via_filename.iter();
|
||||
for CrateMismatch { path, .. } in mismatches {
|
||||
dcx.emit_err(errors::CrateLocationUnknownType {
|
||||
span,
|
||||
path: path,
|
||||
crate_name,
|
||||
});
|
||||
dcx.emit_err(errors::CrateLocationUnknownType { span, path, crate_name });
|
||||
dcx.emit_err(errors::LibFilenameForm {
|
||||
span,
|
||||
dll_prefix: &locator.dll_prefix,
|
||||
|
@ -1035,7 +1031,7 @@ impl CrateError {
|
|||
}
|
||||
dcx.emit_err(errors::NewerCrateVersion {
|
||||
span,
|
||||
crate_name: crate_name,
|
||||
crate_name,
|
||||
add_info,
|
||||
found_crates,
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue