| |
| running 2 tests |
| test $DIR/failed-doctest-output.rs - OtherStruct (line 27) ... FAILED |
| test $DIR/failed-doctest-output.rs - SomeStruct (line 21) ... FAILED |
| |
| failures: |
| |
| ---- $DIR/failed-doctest-output.rs - OtherStruct (line 27) stdout ---- |
| error[E0425]: cannot find value `no` in this scope |
| --> $DIR/failed-doctest-output.rs:28:1 |
| | |
| 3 | no |
| | ^^ not found in this scope |
| |
| thread '$DIR/failed-doctest-output.rs - OtherStruct (line 27)' panicked at 'couldn't compile the test', src/librustdoc/test.rs:326:13 |
| note: Run with `RUST_BACKTRACE=1` environment variable to display a backtrace. |
| |
| ---- $DIR/failed-doctest-output.rs - SomeStruct (line 21) stdout ---- |
| thread '$DIR/failed-doctest-output.rs - SomeStruct (line 21)' panicked at 'test executable failed: |
| |
| thread 'main' panicked at 'oh no', $DIR/failed-doctest-output.rs:3:1 |
| note: Run with `RUST_BACKTRACE=1` environment variable to display a backtrace. |
| |
| ', src/librustdoc/test.rs:361:17 |
| |
| |
| failures: |
| $DIR/failed-doctest-output.rs - OtherStruct (line 27) |
| $DIR/failed-doctest-output.rs - SomeStruct (line 21) |
| |
| test result: FAILED. 0 passed; 2 failed; 0 ignored; 0 measured; 0 filtered out |
| |