What am I doing wrong here? #rust
@fredvanzwieten Looks fine. Run `cargo build` and it should give you a clear explanation of what it wants. Or if it builds fine, it means you've ran into an edge case where rust-analyzer is mistaken.
@kornel Nope, cargo build complains more or less in the same way:
@fredvanzwieten @kornel did you accidentally shadow the Ok enum somehow? Either via another import or some bad code higher up in the function? If you are able, try sharing more of your code as the problem may be outside what you've shared so far.
@gibwar @kornel YES! you nailed it!! In had this laying around from some try-out before:
use anyhow::Ok;