2019-05-04 14:37:12 -05:00
|
|
|
|
|
|
|
running 1 test
|
2021-05-03 13:16:44 -05:00
|
|
|
test $DIR/failed-doctest-missing-codes.rs - Foo (line 9) - compile fail ... FAILED
|
2019-05-04 14:37:12 -05:00
|
|
|
|
|
|
|
failures:
|
|
|
|
|
2020-11-26 14:15:15 -06:00
|
|
|
---- $DIR/failed-doctest-missing-codes.rs - Foo (line 9) stdout ----
|
2019-05-04 14:37:12 -05:00
|
|
|
error[E0308]: mismatched types
|
2020-11-26 14:15:15 -06:00
|
|
|
--> $DIR/failed-doctest-missing-codes.rs:10:13
|
2019-10-10 19:00:00 -05:00
|
|
|
|
|
|
|
|
LL | let x: () = 5i32;
|
2019-11-18 23:00:24 -06:00
|
|
|
| -- ^^^^ expected `()`, found `i32`
|
|
|
|
| |
|
|
|
|
| expected due to this
|
2019-05-04 14:37:12 -05:00
|
|
|
|
|
|
|
error: aborting due to previous error
|
|
|
|
|
|
|
|
For more information about this error, try `rustc --explain E0308`.
|
|
|
|
Some expected error codes were not found: ["E0004"]
|
|
|
|
|
|
|
|
failures:
|
2020-11-26 14:15:15 -06:00
|
|
|
$DIR/failed-doctest-missing-codes.rs - Foo (line 9)
|
2019-05-04 14:37:12 -05:00
|
|
|
|
2020-11-26 14:15:15 -06:00
|
|
|
test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in $TIME
|
2019-05-04 14:37:12 -05:00
|
|
|
|