]> git.lizzy.rs Git - rust.git/blob - tests/rustdoc-ui/failed-doctest-missing-codes.stdout
Rollup merge of #106766 - GuillaumeGomez:rm-stripper-dead-code, r=notriddle
[rust.git] / tests / rustdoc-ui / failed-doctest-missing-codes.stdout
1
2 running 1 test
3 test $DIR/failed-doctest-missing-codes.rs - Foo (line 9) - compile fail ... FAILED
4
5 failures:
6
7 ---- $DIR/failed-doctest-missing-codes.rs - Foo (line 9) stdout ----
8 error[E0308]: mismatched types
9   --> $DIR/failed-doctest-missing-codes.rs:10:13
10    |
11 LL | let x: () = 5i32;
12    |        --   ^^^^ expected `()`, found `i32`
13    |        |
14    |        expected due to this
15
16 error: aborting due to previous error
17
18 For more information about this error, try `rustc --explain E0308`.
19 Some expected error codes were not found: ["E0004"]
20
21 failures:
22     $DIR/failed-doctest-missing-codes.rs - Foo (line 9)
23
24 test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in $TIME
25