error[E0433]: failed to resolve: could not find `option` in `core`
--> src\main.rs:11:14
|
11 | .run(tauri::generate_context!())
| ^^^^^^^^^^^^^^^^^^^^^^^^^^ could not find `option` in `core`
|
= note: this error originates in the macro `tauri::generate_context` (in Nightly builds, run with -Z macro-backtrace for more info)
error[E0433]: failed to resolve: could not find `option` in `core`
--> src\main.rs:11:14
|
11 | .run(tauri::generate_context!())
| ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in `core::option`
|
= note: this error originates in the macro `tauri::generate_context` (in Nightly builds, run with -Z macro-backtrace for more info)
help: consider importing one of these items
|
6 | use serde::__private::Option;
|
6 | use std::option::Option;
|
help: if you import `Option`, refer to it directly
|
11 - .run(tauri::generate_context!())
11 + .run(tauri::generate_context!())
|
warning: unused import: `core::helpers::math_helper`
Anyway, the issue is that you've called your own crate core. The standard library already provides a crate by that name, so you get name collisions if you use it.