about summary refs log tree commit diff
path: root/src/test/rustdoc-ui/failed-doctest-missing-codes.stdout
blob: a8753d14de22f958f656fe431c3c80b279b84de6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
running 1 test
test $DIR/failed-doctest-missing-codes.rs - Foo (line 8) ... FAILED

failures:

---- $DIR/failed-doctest-missing-codes.rs - Foo (line 8) stdout ----
error[E0308]: mismatched types
  --> $DIR/failed-doctest-missing-codes.rs:9:13
   |
LL | let x: () = 5i32;
   |             ^^^^ expected (), found i32
   |
   = note: expected type `()`
              found type `i32`

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:
    $DIR/failed-doctest-missing-codes.rs - Foo (line 8)

test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out