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_immediate found for trait object dyn Watcher in the current scope
--> /home/julie/.cargo/registry/src/github.com-1ecc6299db9ec823/bevy_asset-0.4.0/src/filesystem_watcher.rs:14:52
|
14 | let watcher: RecommendedWatcher = Watcher::new_immediate(move |res| {
| ^^^^^^^^^^^^^ function or associated item not found in dyn Watcher
error[E0308]: mismatched types
--> /home/julie/.cargo/registry/src/github.com-1ecc6299db9ec823/bevy_asset-0.4.0/src/filesystem_watcher.rs:24:28
|
23 | pub fn watch<P: AsRef>(&mut self, path: P) -> Result<()> {
| - this type parameter
24 | self.watcher.watch(path, RecursiveMode::Recursive)
| ^^^^ expected &Path, found type parameter P
|
= note: expected reference &Path
found type parameter P
Compiling bevy_core v0.4.0
The text was updated successfully, but these errors were encountered:
error[E0599]: no function or associated item named
new_immediate
found for trait objectdyn Watcher
in the current scope--> /home/julie/.cargo/registry/src/github.com-1ecc6299db9ec823/bevy_asset-0.4.0/src/filesystem_watcher.rs:14:52
|
14 | let watcher: RecommendedWatcher = Watcher::new_immediate(move |res| {
| ^^^^^^^^^^^^^ function or associated item not found in
dyn Watcher
error[E0308]: mismatched types
--> /home/julie/.cargo/registry/src/github.com-1ecc6299db9ec823/bevy_asset-0.4.0/src/filesystem_watcher.rs:24:28
|
23 | pub fn watch<P: AsRef>(&mut self, path: P) -> Result<()> {
| - this type parameter
24 | self.watcher.watch(path, RecursiveMode::Recursive)
| ^^^^ expected
&Path
, found type parameterP
|
= note: expected reference
&Path
found type parameter
P
Compiling bevy_core v0.4.0
The text was updated successfully, but these errors were encountered: