1
1
2
2
running 2 tests
3
- test $DIR/failed-doctest-output.rs - OtherStruct (line 26 ) ... FAILED
4
- test $DIR/failed-doctest-output.rs - SomeStruct (line 20 ) ... FAILED
3
+ test $DIR/failed-doctest-output.rs - OtherStruct (line 27 ) ... FAILED
4
+ test $DIR/failed-doctest-output.rs - SomeStruct (line 21 ) ... FAILED
5
5
6
6
failures:
7
7
8
- ---- $DIR/failed-doctest-output.rs - OtherStruct (line 26 ) stdout ----
8
+ ---- $DIR/failed-doctest-output.rs - OtherStruct (line 27 ) stdout ----
9
9
error[E0425]: cannot find value `no` in this scope
10
- --> $DIR/failed-doctest-output.rs:27 :1
10
+ --> $DIR/failed-doctest-output.rs:28 :1
11
11
|
12
12
3 | no
13
13
| ^^ not found in this scope
14
14
15
- thread '$DIR/failed-doctest-output.rs - OtherStruct (line 26 )' panicked at 'couldn't compile the test', librustdoc/test.rs:332:13
15
+ thread '$DIR/failed-doctest-output.rs - OtherStruct (line 27 )' panicked at 'couldn't compile the test', librustdoc/test.rs:332:13
16
16
note: Run with `RUST_BACKTRACE=1` for a backtrace.
17
17
18
- ---- $DIR/failed-doctest-output.rs - SomeStruct (line 20 ) stdout ----
19
- thread '$DIR/failed-doctest-output.rs - SomeStruct (line 20 )' panicked at 'test executable failed:
18
+ ---- $DIR/failed-doctest-output.rs - SomeStruct (line 21 ) stdout ----
19
+ thread '$DIR/failed-doctest-output.rs - SomeStruct (line 21 )' panicked at 'test executable failed:
20
20
21
21
thread 'main' panicked at 'oh no', $DIR/failed-doctest-output.rs:3:1
22
22
note: Run with `RUST_BACKTRACE=1` for a backtrace.
@@ -25,8 +25,8 @@ note: Run with `RUST_BACKTRACE=1` for a backtrace.
25
25
26
26
27
27
failures:
28
- $DIR/failed-doctest-output.rs - OtherStruct (line 26 )
29
- $DIR/failed-doctest-output.rs - SomeStruct (line 20 )
28
+ $DIR/failed-doctest-output.rs - OtherStruct (line 27 )
29
+ $DIR/failed-doctest-output.rs - SomeStruct (line 21 )
30
30
31
31
test result: FAILED. 0 passed; 2 failed; 0 ignored; 0 measured; 0 filtered out
32
32
0 commit comments