You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
error[E0599]: no function or associated item named get found for struct FakeFs in the current scope
--> src\main.rs:131:33
|
131 | if let Some(file) = FakeFs::get(url) {
| ^^^ function or associated item not found in FakeFs
|
::: src\fakefs.rs:5:1
|
5 | pub struct FakeFs;
| ----------------- function or associated item get not found for this struct
|
= help: items from traits can only be used if the trait is implemented and in scope
= note: the following traits define an item get, perhaps you need to implement one of them:
candidate #1: SliceIndex
candidate #2: source::Source
candidate #3: RustEmbed
candidate #4: rustls::client::client_conn::StoresClientSessions
candidate #5: rustls::server::server_conn::StoresServerSessions
For more information about this error, try rustc --explain E0599.
error: could not compile gephgui-wry due to 2 previous errors
The text was updated successfully, but these errors were encountered:
D:\code\rust\gephgui-wry>cargo build
warning: unused manifest key: target.cfg(all(windows, target_env = "msvc")).rustflags
Compiling gephgui-wry v0.1.0 (D:\code\rust\gephgui-wry)
error: proc-macro derive panicked
--> src\fakefs.rs:3:10
|
3 | #[derive(RustEmbed)]
| ^^^^^^^^^
|
= help: message: #[derive(RustEmbed)] folder 'D:\code\rust\gephgui-wry\gephgui/dist/' does not exist. cwd: 'D:\code\rust\gephgui-wry'
error[E0599]: no function or associated item named
get
found for structFakeFs
in the current scope--> src\main.rs:131:33
|
131 | if let Some(file) = FakeFs::get(url) {
| ^^^ function or associated item not found in
FakeFs
|
::: src\fakefs.rs:5:1
|
5 | pub struct FakeFs;
| ----------------- function or associated item
get
not found for this struct|
= help: items from traits can only be used if the trait is implemented and in scope
= note: the following traits define an item
get
, perhaps you need to implement one of them:candidate #1:
SliceIndex
candidate #2:
source::Source
candidate #3:
RustEmbed
candidate #4:
rustls::client::client_conn::StoresClientSessions
candidate #5:
rustls::server::server_conn::StoresServerSessions
For more information about this error, try
rustc --explain E0599
.error: could not compile
gephgui-wry
due to 2 previous errorsThe text was updated successfully, but these errors were encountered: