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 `new` found for trait object `dyn notify::Watcher` in the current scope
--> src/watcher.rs:28:62
|
28 | let w: notify::RecommendedWatcher = notify::Watcher::new(tx.clone(), Duration::from_secs(2))?;
| ^^^ function or associated item not found in `dyn notify::Watcher`
error: aborting due to previous error
For more information about this error, try `rustc --explain E0599`.
error: failed to compile `library-loader v0.1.2 (/home/pi)`, intermediate artifacts can be found at `/home/pi/target`
Caused by:
could not compile `library-loader`.
To learn more, run the command again with --verbose.
i don't know why...