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
$ rustup run nightly cargo build
Compiling wgpu-core v0.8.1
Compiling shaderc-sys v0.6.3
Compiling shaderc v0.6.3
error[E0597]: `desc_set` does not live long enough
--> /home/leonard/.cargo/registry/src/github.com-1ecc6299db9ec823/wgpu-core-0.8.1/src/device/mod.rs:1773:26
|
1773 | set: desc_set.raw_mut(),
| ^^^^^^^^^^^^^^^^^^ borrowed value does not live long enough
...
1794 | }
| -
| |
| `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
$
The text was updated successfully, but these errors were encountered:
on running
rustup run nightly cargo build
:The text was updated successfully, but these errors were encountered: