2018-07-09 14:26:22 -05:00
|
|
|
|
2018-07-09 19:11:06 -05:00
|
|
|
running 2 tests
|
2022-04-11 11:26:05 -05:00
|
|
|
test $DIR/failed-doctest-output.rs - OtherStruct (line 25) ... FAILED
|
|
|
|
test $DIR/failed-doctest-output.rs - SomeStruct (line 15) ... FAILED
|
2018-07-09 14:26:22 -05:00
|
|
|
|
|
|
|
failures:
|
|
|
|
|
2022-04-11 11:26:05 -05:00
|
|
|
---- $DIR/failed-doctest-output.rs - OtherStruct (line 25) stdout ----
|
2018-07-09 19:11:06 -05:00
|
|
|
error[E0425]: cannot find value `no` in this scope
|
2022-04-11 11:26:05 -05:00
|
|
|
--> $DIR/failed-doctest-output.rs:26:1
|
2019-10-10 19:00:00 -05:00
|
|
|
|
|
|
|
|
LL | no
|
|
|
|
| ^^ not found in this scope
|
2018-07-09 19:11:06 -05:00
|
|
|
|
2018-12-08 13:30:23 -06:00
|
|
|
error: aborting due to previous error
|
|
|
|
|
|
|
|
For more information about this error, try `rustc --explain E0425`.
|
2019-05-04 14:37:12 -05:00
|
|
|
Couldn't compile the test.
|
2022-04-11 11:26:05 -05:00
|
|
|
---- $DIR/failed-doctest-output.rs - SomeStruct (line 15) stdout ----
|
2022-04-07 16:25:16 -05:00
|
|
|
Test executable failed (exit status: 101).
|
2019-05-04 14:37:12 -05:00
|
|
|
|
|
|
|
stdout:
|
|
|
|
stdout 1
|
|
|
|
stdout 2
|
|
|
|
|
|
|
|
stderr:
|
|
|
|
stderr 1
|
|
|
|
stderr 2
|
|
|
|
thread 'main' panicked at 'oh no', $DIR/failed-doctest-output.rs:7:1
|
2020-01-10 12:24:34 -06:00
|
|
|
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
|
2018-07-09 19:11:06 -05:00
|
|
|
|
2018-07-09 14:26:22 -05:00
|
|
|
|
|
|
|
|
|
|
|
failures:
|
2022-04-11 11:26:05 -05:00
|
|
|
$DIR/failed-doctest-output.rs - OtherStruct (line 25)
|
|
|
|
$DIR/failed-doctest-output.rs - SomeStruct (line 15)
|
2018-07-09 14:26:22 -05:00
|
|
|
|
2020-11-26 14:15:15 -06:00
|
|
|
test result: FAILED. 0 passed; 2 failed; 0 ignored; 0 measured; 0 filtered out; finished in $TIME
|
2018-07-09 14:26:22 -05:00
|
|
|
|