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
(None, format!("pass the flag `-Zmiri-disable-isolation` to disable isolation;")),
158
157
(None, format!("or pass `-Zmiri-isolation-error=warn` to configure Miri to return an error code from isolated operations (if supported for that operation) and continue with a warning")),
159
158
],
160
-
ExperimentalUb{ url, help, history, .. } => {
159
+
StackedBorrowsUb{ help, history, .. } => {
160
+
let url = "https://github.com/rust-lang/unsafe-code-guidelines/blob/master/wip/stacked-borrows.md";
161
161
msg.extend(help.clone());
162
162
letmut helps = vec![
163
-
(None, format!("this indicates a potential bug in the program: it performed an invalid operation, but the rules it violated are still experimental")),
164
-
(None, format!("see {} for further information", url)),
163
+
(None, format!("this indicates a potential bug in the program: it performed an invalid operation, but the Stacked Borrows rules it violated are still experimental")),
164
+
(None, format!("see {url} for further information")),
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ type validation failed: encountered vtable pointer does not have permission to read drop function pointer
6
+
|
7
+
= help: this indicates a bug in the program: it performed an invalid operation, and caused Undefined Behavior
8
+
= help: see https://doc.rust-lang.org/nightly/reference/behavior-considered-undefined.html for further information
9
+
10
+
= note: inside `std::ptr::from_raw_parts::<dyn Foo>` at RUSTLIB/core/src/ptr/metadata.rs:LL:CC
0 commit comments