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