Skip to content

error[E0425]: cannot find function, tuple struct or tuple variant Ok in this scope #2743

Answered by BurntSushi
smz2025 asked this question in Q&A
Discussion options

You must be logged in to vote

This looks to me like something is wrong with your Rust/Cargo installation. The errors are telling you that it can't find the Some function, which means core isn't available. But you might consider trying to compile some other Rust programs to see if you get similar errors. My hypothesis is that you will.

Like how did you install Rust? Are you cross compiling? Which target are you on?

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@smz2025
Comment options

@BurntSushi
Comment options

Answer selected by BurntSushi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants