遇到问题 #1
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
running 1 test
test ch2::quicksort::tests::quicksort_example ... FAILED
successes:
successes:
failures:
---- ch2::quicksort::tests::quicksort_example stdout ----
thread 'ch2::quicksort::tests::quicksort_example' panicked at /home/wangfiox/Documents/compiler/src/backend/irs/func.rs:25:73:
called
Option::unwrap()
on aNone
valuestack backtrace:
0: rust_begin_unwind
at /rustc/9b00956e56009bab2aa15d7bff10916599e3d6d6/library/std/src/panicking.rs:645:5
1: core::panicking::panic_fmt
at /rustc/9b00956e56009bab2aa15d7bff10916599e3d6d6/library/core/src/panicking.rs:72:14
2: core::panicking::panic
at /rustc/9b00956e56009bab2aa15d7bff10916599e3d6d6/library/core/src/panicking.rs:145:5
3: core::option::unwrap_failed
at /rustc/9b00956e56009bab2aa15d7bff10916599e3d6d6/library/core/src/option.rs:1985:5
4: core::option::Option::unwrap
at /rustc/9b00956e56009bab2aa15d7bff10916599e3d6d6/library/core/src/option.rs:933:21
5: compiler::backend::irs::func::Func::gen_asm
at /home/wangfiox/Documents/compiler/src/backend/irs/func.rs:25:21
6: backend_module::ch2::quicksort::tests::quicksort_example
at ./src/ch2/quicksort.rs:211:19
7: backend_module::ch2::quicksort::tests::quicksort_example::{{closure}}
at ./src/ch2/quicksort.rs:6:31
8: core::ops::function::FnOnce::call_once
at /rustc/9b00956e56009bab2aa15d7bff10916599e3d6d6/library/core/src/ops/function.rs:250:5
9: core::ops::function::FnOnce::call_once
at /rustc/9b00956e56009bab2aa15d7bff10916599e3d6d6/library/core/src/ops/function.rs:250:5
note: Some details are omitted, run with
RUST_BACKTRACE=full
for a verbose backtrace.failures:
ch2::quicksort::tests::quicksort_example
test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.74s
error: test failed, to rerun pass
-p backend_module --bin backend_module