fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #71365 - Mark-Simulacrum:stable-next, r=Mark-Simulacrum4fb7144ed15

1.43.0
1.0 KiB39 linesraw
1
2running 2 tests
3test $DIR/failed-doctest-output.rs - OtherStruct (line 21) ... FAILED
4test $DIR/failed-doctest-output.rs - SomeStruct (line 11) ... FAILED
5
6failures:
7
8---- $DIR/failed-doctest-output.rs - OtherStruct (line 21) stdout ----
9error[E0425]: cannot find value `no` in this scope
10  --> $DIR/failed-doctest-output.rs:22:1
11   |
12LL | no
13   | ^^ not found in this scope
14
15error: aborting due to previous error
16
17For more information about this error, try `rustc --explain E0425`.
18Couldn't compile the test.
19---- $DIR/failed-doctest-output.rs - SomeStruct (line 11) stdout ----
20Test executable failed (exit code 101).
21
22stdout:
23stdout 1
24stdout 2
25
26stderr:
27stderr 1
28stderr 2
29thread 'main' panicked at 'oh no', $DIR/failed-doctest-output.rs:7:1
30note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
31
32
33
34failures:
35    $DIR/failed-doctest-output.rs - OtherStruct (line 21)
36    $DIR/failed-doctest-output.rs - SomeStruct (line 11)
37
38test result: FAILED. 0 passed; 2 failed; 0 ignored; 0 measured; 0 filtered out
39