about summary refs log tree commit diff
path: root/tests/rustdoc-ui/doctest/dead-code-module-2.stdout
blob: cf737996d5c97b52c0fbaff1bdc2751ff1ffe8d3 (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
27
28
29
30
31
32
33
34
35
36
running 1 test
test $DIR/dead-code-module-2.rs - g (line 26) - compile ... ok

test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in $TIME


running 1 test
test $DIR/dead-code-module-2.rs - my_mod::f (line 18) - compile ... FAILED

failures:

---- $DIR/dead-code-module-2.rs - my_mod::f (line 18) stdout ----
error: trait `T` is never used
  --> $DIR/dead-code-module-2.rs:19:7
   |
LL | trait T { fn f(); }
   |       ^
   |
note: the lint level is defined here
  --> $DIR/dead-code-module-2.rs:17:9
   |
LL | #![deny(warnings)]
   |         ^^^^^^^^
   = note: `#[deny(dead_code)]` implied by `#[deny(warnings)]`

error: aborting due to 1 previous error

Couldn't compile the test.

failures:
    $DIR/dead-code-module-2.rs - my_mod::f (line 18)

test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in $TIME

all doctests ran in $TIME; merged doctests compilation took $TIME