fork/rust

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

borsAuto merge of #69854 - pietroalbini:stable-next, r=Centrilb8cedc00407

1.42.0
676 B25 linesraw
1
2running 1 test
3test $DIR/failed-doctest-missing-codes.rs - Foo (line 8) ... FAILED
4
5failures:
6
7---- $DIR/failed-doctest-missing-codes.rs - Foo (line 8) stdout ----
8error[E0308]: mismatched types
9  --> $DIR/failed-doctest-missing-codes.rs:9:13
10   |
11LL | let x: () = 5i32;
12   |        --   ^^^^ expected `()`, found `i32`
13   |        |
14   |        expected due to this
15
16error: aborting due to previous error
17
18For more information about this error, try `rustc --explain E0308`.
19Some expected error codes were not found: ["E0004"]
20
21failures:
22    $DIR/failed-doctest-missing-codes.rs - Foo (line 8)
23
24test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out
25