mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-11 16:15:03 +00:00
87a354b15d
Co-authored-by: Adrian <adrian.iosdev@gmail.com>
26 lines
713 B
Plaintext
26 lines
713 B
Plaintext
|
|
running 1 test
|
|
test $DIR/failed-doctest-missing-codes.rs - Foo (line 9) - compile fail ... FAILED
|
|
|
|
failures:
|
|
|
|
---- $DIR/failed-doctest-missing-codes.rs - Foo (line 9) stdout ----
|
|
error[E0308]: mismatched types
|
|
--> $DIR/failed-doctest-missing-codes.rs:10:13
|
|
|
|
|
LL | let x: () = 5i32;
|
|
| -- ^^^^ expected `()`, found `i32`
|
|
| |
|
|
| expected due to this
|
|
|
|
error: aborting due to 1 previous error
|
|
|
|
For more information about this error, try `rustc --explain E0308`.
|
|
Some expected error codes were not found: ["E0004"]
|
|
|
|
failures:
|
|
$DIR/failed-doctest-missing-codes.rs - Foo (line 9)
|
|
|
|
test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in $TIME
|
|
|