Skip to content

Commit 0bcbe45

Browse files
committed
Replace "error"s with "failed to"s in warnings to avoid confusion
1 parent d940e56 commit 0bcbe45

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

compiler/rustc_incremental/messages.ftl

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ incremental_cargo_help_2 =
1919
the entire build directory can be changed to a different filesystem by setting the environment variable CARGO_TARGET_DIR to a different path (see https://doc.rust-lang.org/cargo/reference/config.html#buildtarget-dir)
2020
2121
incremental_copy_workproduct_to_cache =
22-
error copying object file `{$from}` to incremental directory as `{$to}`: {$err}
22+
failed to copy object file `{$from}` to incremental directory as `{$to}`: {$err}
2323
2424
incremental_corrupt_file = corrupt incremental compilation artifact found at `{$path}`. This file will automatically be ignored and deleted. If you see this message repeatedly or can provoke it without manually manipulating the compiler's artifacts, please file an issue. The incremental compilation system relies on hardlinks and filesystem locks behaving correctly, and may not deal well with OS crashes, so whatever information you can provide about your filesystem or other state may be very relevant.
2525
@@ -32,21 +32,21 @@ incremental_create_lock =
3232
incremental compilation: could not create session directory lock file: {$lock_err}
3333
incremental_create_new = failed to create {$name} at `{$path}`: {$err}
3434
35-
incremental_delete_full = error deleting incremental compilation session directory `{$path}`: {$err}
35+
incremental_delete_full = failed to delete incremental compilation session directory `{$path}`: {$err}
3636
3737
incremental_delete_incompatible =
3838
failed to delete invalidated or incompatible incremental compilation session directory contents `{$path}`: {$err}
3939
4040
incremental_delete_lock =
41-
error deleting lock file for incremental compilation session directory `{$path}`: {$err}
41+
failed to delete lock file for incremental compilation session directory `{$path}`: {$err}
4242
4343
incremental_delete_old = unable to delete old {$name} at `{$path}`: {$err}
4444
4545
incremental_delete_partial = failed to delete partly initialized session dir `{$path}`: {$err}
4646
47-
incremental_delete_workproduct = file-system error deleting outdated file `{$path}`: {$err}
47+
incremental_delete_workproduct = file-system failed to delete outdated file `{$path}`: {$err}
4848
49-
incremental_finalize = error finalizing incremental compilation session directory `{$path}`: {$err}
49+
incremental_finalize = failed to finalize incremental compilation session directory `{$path}`: {$err}
5050
5151
incremental_finalized_gc_failed =
5252
failed to garbage collect finalized incremental compilation session directory `{$path}`: {$err}

0 commit comments

Comments
 (0)