error[E0597]: `desc_set` does not live long enough
--> /Users/brittcagnina/.cargo/registry/src/git.832008.xyz-1ecc6299db9ec823/wgpu-core-0.9.2/src/device/mod.rs:1792:26
|
1792 | set: desc_set.raw_mut(),
| ^^^^^^^^^^^^^^^^^^ borrowed value does not live long enough
...
1813 | }
| -
| |
| `desc_set` dropped here while still borrowed
| borrow might be used here, when `write_map` is dropped and runs the `Drop` code for type `BTreeMap`
|
= note: values in a scope are dropped in the opposite order they are defined
For more information about this error, try `rustc --explain E0597`.
error: could not compile `wgpu-core` due to previous error
I tried this code:
I expected to see this happen: I expected the new project that I created to build, from following https://guide.nannou.cc/getting_started/create_a_project.html
Instead, this happened:

Meta
rustc --version --verbose:Backtrace