diff options
| author | Matthias Krüger <476013+matthiaskrgr@users.noreply.github.com> | 2025-05-27 20:57:53 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-05-27 20:57:53 +0200 |
| commit | 88b12f364922aeada0ba3ebc06462a6adb1ffc56 (patch) | |
| tree | 6f57147b1f8ce7189f6a5184bcc7d73ebf57ebce /compiler/rustc_codegen_gcc/example/alloc_example.rs | |
| parent | c583fa6d8425dbb38fe5d1dbd007f9ca8e4aa128 (diff) | |
| parent | fd260d530b880c44874340eaf2e31666a138a874 (diff) | |
| download | rust-88b12f364922aeada0ba3ebc06462a6adb1ffc56.tar.gz rust-88b12f364922aeada0ba3ebc06462a6adb1ffc56.zip | |
Rollup merge of #141312 - cberner:filelock_from, r=joshtriplett
Add From<TryLockError> for io::Error Adds a `From` impl to make error propagation easier, as discussed in the tracking issue `TryLockError` is unstable under the "file_lock" feature. The related tracking issue is https://github.com/rust-lang/rust/issues/130994 This PR also cleanups the Windows implementation of `try_lock()` and `try_lock_shared()` as [discussed here](https://github.com/rust-lang/rust/pull/140718#discussion_r2076678485)
Diffstat (limited to 'compiler/rustc_codegen_gcc/example/alloc_example.rs')
0 files changed, 0 insertions, 0 deletions
