When compiling the example from bevy_crossterm using rustc 1.51.0-nightly (a62a76047 2021-01-13) I get the following errors:
error[E0133]: call to unsafe function is unsafe and requires unsafe function or block
--> /home/odd/.cargo/registry/src/github.com-1ecc6299db9ec823/broccoli-0.7.5/src/tree/container/inner.rs:69:73
|
69 | let inner: compt::dfs_order::CompleteTreeContainer<NodePtr<T>, _> = inner.inner.inner.convert();
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function
|
= note: consult the function's documentation for information on how to avoid undefined behavior
error[E0133]: call to unsafe function is unsafe and requires unsafe function or block
--> /home/odd/.cargo/registry/src/github.com-1ecc6299db9ec823/broccoli-0.7.5/src/tree/container/inner.rs:83:73
|
83 | let inner: compt::dfs_order::CompleteTreeContainer<NodePtr<T>, _> = inner.inner.inner.convert();
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function
|
= note: consult the function's documentation for information on how to avoid undefined behavior
error: aborting due to 2 previous errors
For more information about this error, try `rustc --explain E0133`.
error: could not compile `broccoli`
When compiling the example from bevy_crossterm using
rustc 1.51.0-nightly (a62a76047 2021-01-13)
I get the following errors:Is there a way to bypass this error?