2018-07-09 14:26:22 -05:00
|
|
|
|
2018-07-09 19:11:06 -05:00
|
|
|
running 2 tests
|
2018-12-25 08:56:47 -07:00
|
|
|
test $DIR/failed-doctest-output.rs - OtherStruct (line 17) ... FAILED
|
|
|
|
test $DIR/failed-doctest-output.rs - SomeStruct (line 11) ... FAILED
|
2018-07-09 14:26:22 -05:00
|
|
|
|
|
|
|
failures:
|
|
|
|
|
2018-12-25 08:56:47 -07:00
|
|
|
---- $DIR/failed-doctest-output.rs - OtherStruct (line 17) stdout ----
|
2018-07-09 19:11:06 -05:00
|
|
|
error[E0425]: cannot find value `no` in this scope
|
2018-12-25 08:56:47 -07:00
|
|
|
--> $DIR/failed-doctest-output.rs:18:1
|
2018-07-09 19:11:06 -05:00
|
|
|
|
|
|
|
|
3 | no
|
|
|
|
| ^^ not found in this scope
|
|
|
|
|
2018-12-08 20:30:23 +01:00
|
|
|
error: aborting due to previous error
|
|
|
|
|
|
|
|
For more information about this error, try `rustc --explain E0425`.
|
2019-04-06 00:15:49 +02:00
|
|
|
thread '$DIR/failed-doctest-output.rs - OtherStruct (line 17)' panicked at 'couldn't compile the test', src/librustdoc/test.rs:320:13
|
2018-12-12 14:20:49 +00:00
|
|
|
note: Run with `RUST_BACKTRACE=1` environment variable to display a backtrace.
|
2018-07-09 19:11:06 -05:00
|
|
|
|
2018-12-25 08:56:47 -07:00
|
|
|
---- $DIR/failed-doctest-output.rs - SomeStruct (line 11) stdout ----
|
|
|
|
thread '$DIR/failed-doctest-output.rs - SomeStruct (line 11)' panicked at 'test executable failed:
|
2018-07-09 14:26:22 -05:00
|
|
|
|
2018-07-09 19:14:31 -05:00
|
|
|
thread 'main' panicked at 'oh no', $DIR/failed-doctest-output.rs:3:1
|
2018-12-12 14:20:49 +00:00
|
|
|
note: Run with `RUST_BACKTRACE=1` environment variable to display a backtrace.
|
2018-07-09 14:26:22 -05:00
|
|
|
|
2019-04-06 00:15:49 +02:00
|
|
|
', src/librustdoc/test.rs:342:17
|
2018-07-09 14:26:22 -05:00
|
|
|
|
|
|
|
|
|
|
|
failures:
|
2018-12-25 08:56:47 -07:00
|
|
|
$DIR/failed-doctest-output.rs - OtherStruct (line 17)
|
|
|
|
$DIR/failed-doctest-output.rs - SomeStruct (line 11)
|
2018-07-09 14:26:22 -05:00
|
|
|
|
2018-07-09 19:11:06 -05:00
|
|
|
test result: FAILED. 0 passed; 2 failed; 0 ignored; 0 measured; 0 filtered out
|
2018-07-09 14:26:22 -05:00
|
|
|
|