| error: Undefined Behavior: reborrow through <TAG> (root of the allocation) is forbidden |
| --> RUSTLIB/std/src/rt.rs:LL:CC |
| | |
| LL | panic::catch_unwind(move || unsafe { init(argc, argv, sigpipe) }).map_err(rt_abort)?; |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ reborrow through <TAG> (root of the allocation) is forbidden |
| | |
| = help: this indicates a potential bug in the program: it performed an invalid operation, but the Tree Borrows rules it violated are still experimental |
| = help: the accessed tag <TAG> (root of the allocation) is foreign to the protected tag <TAG> (i.e., it is not a child) |
| = help: this reborrow (acting as a foreign read access) would cause the protected tag <TAG> (currently Active) to become Disabled |
| = help: protected tags must never be Disabled |
| help: the accessed tag <TAG> was created here |
| --> RUSTLIB/std/src/rt.rs:LL:CC |
| | |
| LL | panic::catch_unwind(move || unsafe { init(argc, argv, sigpipe) }).map_err(rt_abort)?; |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
| help: the protected tag <TAG> was created here, in the initial state Active |
| --> RUSTLIB/std/src/panic.rs:LL:CC |
| | |
| LL | pub fn catch_unwind<F: FnOnce() -> R + UnwindSafe, R>(f: F) -> Result<R> { |
| | ^ |
| = note: BACKTRACE (of the first span): |
| = note: inside `std::rt::lang_start_internal` at RUSTLIB/std/src/rt.rs:LL:CC |
| = note: inside `std::rt::lang_start::<()>` at RUSTLIB/std/src/rt.rs:LL:CC |
| |
| error: aborting due to previous error |
| |