mun icon indicating copy to clipboard operation
mun copied to clipboard

no function or associated item named `new_immediate` found for trait object `dyn Watcher` in the current scope

Open jruiss opened this issue 4 years ago • 1 comments

Tried installing mun with cargo install mun with rustc 1.56.0-nightly (2d2bc94c8 2021-08-15).

Installing mun v0.3.0
...
error[E0599]: no function or associated item named `new_immediate` found for trait object `dyn Watcher` in the current scope                                                                                          --> C:\Users\owner\.cargo\registry\src\github.com-1ecc6299db9ec823\mun_vfs-0.1.0\src\monitor\notify_monitor.rs:142:53                                                                                               |                                                                                                                                                                                                              142 |             let watcher = log_notify_error(Watcher::new_immediate(move |event| {                                                                                                                                 |                                                     ^^^^^^^^^^^^^ function or associated item not found in `dyn Watcher`                                                                                                                                                                                                                                                                                                        For more information about this error, try `rustc --explain E0599`.                                                                                                                                                error: could not compile `mun_vfs` due to previous error                                                                                                                                                           warning: build failed, waiting for other jobs to finish...                                                                                                                                                         error: failed to compile `mun v0.3.0`, intermediate artifacts can be found at `C:\Users\owner\AppData\Local\Temp\cargo-install33zREm`

jruiss avatar Aug 16 '21 05:08 jruiss

This has been fixed in master (#343) but it has not been backported yet. Ill see if I can find the time and internet connection to do that! @Wodann Maybe you could help out here?

baszalmstra avatar Aug 16 '21 09:08 baszalmstra

With the release of 0.4.0 this should be fixed.

baszalmstra avatar Jan 02 '23 19:01 baszalmstra