about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src/errors.rs
diff options
context:
space:
mode:
authorMatthias Krüger <476013+matthiaskrgr@users.noreply.github.com>2025-05-03 08:45:01 +0200
committerGitHub <noreply@github.com>2025-05-03 08:45:01 +0200
commit69e0844a460c25272711f4a6724ad1f4526aa2ca (patch)
tree95e5d6146803380ac999fe2f00d1f3e9e979488a /compiler/rustc_codegen_llvm/src/errors.rs
parent2ad5f8607d0e192b60b130e5cc416b477b351c18 (diff)
parent1d11ee2a5b84693ac37173b4515e5411e76cad82 (diff)
downloadrust-69e0844a460c25272711f4a6724ad1f4526aa2ca.tar.gz
rust-69e0844a460c25272711f4a6724ad1f4526aa2ca.zip
Rollup merge of #139343 - cberner:filelock_wouldblock, r=workingjubilee
Change signature of File::try_lock and File::try_lock_shared

These methods now return Result<(), TryLockError> instead of Result<bool, Error> to make their use less errorprone

These methods are unstable under the "file_lock" feature. The related tracking issue is https://github.com/rust-lang/rust/pull/130999 and this PR changes the signatures as discussed by libs-api: https://github.com/rust-lang/rust/issues/130994#issuecomment-2770838848
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/errors.rs')
0 files changed, 0 insertions, 0 deletions