-
Notifications
You must be signed in to change notification settings - Fork 35
Open
Description
on running rustup run nightly cargo build:
$ 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
$
Metadata
Metadata
Assignees
Labels
No labels