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
[src/main.rs:7] ptr = error[E0080]: Miri evaluation error: attempted to do invalid arithmetic on pointers that would leak base addresses, e.g., comparing pointers into different allocations
--> /root/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/src/libcore/cmp.rs:978:52
|
978 | fn ge(&self, other: &$t) -> bool { (*self) >= (*other) }
| ^^^^^^^^^^^^^^^^^^^ Miri evaluation error: attempted to do invalid arithmetic on pointers that would leak base addresses, e.g., comparing pointers into different allocations
|
MRE:
https://play.rust-lang.org/?version=stable&mode=debug&edition=2015&gist=9a0295250c20f63f16a5895438502d8a
Error:
Discovered in rust-lang/rust#60606
The text was updated successfully, but these errors were encountered: