-
-
Couldn't load subscription status.
- Fork 98
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Description of the bug
error[E0308]: `match` arms have incompatible types
--> /wrkdirs/usr/ports/devel/git-branchless/work/git-branchless-0.10.0/cargo-crates/esl01-indexedlog-0.3.0/src/lock.rs:138:30
|
134 | / match (opts.exclusive, opts.non_blocking) {
135 | | (true, false) => file.lock_exclusive(),
| | --------------------- this is found to be of type `std::result::Result<(), std::io::Error>`
136 | | (true, true) => file.try_lock_exclusive(),
| | ------------------------- this is found to be of type `std::result::Result<(), std::io::Error>`
137 | | (false, false) => file.lock_shared(),
| | ------------------ this is found to be of type `std::result::Result<(), std::io::Error>`
138 | | (false, true) => file.try_lock_shared(),
| | ^^^^^^^^^^^^^^^^^^^^^^ expected `Result<(), Error>`, found `Result<(), TryLockError>`
139 | | }
| |_________- `match` arms have incompatible types
Version: 0.10.0
FreeBSD 14.3
Expected behavior
No response
Actual behavior
No response
Version of rustc
No response
Automated bug report
No response
Version of git-branchless
No response
Version of git
No response
toastal, samhug, benner, tribbloid, smarnach and 2 more
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working