1 error: cannot find macro `unknown_macro` in this scope
2 --> $DIR/impl-fn-nesting.rs:32:13
7 error[E0405]: cannot find trait `UnknownBound` in this scope
8 --> $DIR/impl-fn-nesting.rs:11:13
10 LL | pub fn f<B: UnknownBound>(a: UnknownType, b: B) {
11 | ^^^^^^^^^^^^ not found in this scope
13 error[E0412]: cannot find type `UnknownType` in this scope
14 --> $DIR/impl-fn-nesting.rs:11:30
16 LL | pub fn f<B: UnknownBound>(a: UnknownType, b: B) {
17 | ^^^^^^^^^^^ not found in this scope
19 error[E0405]: cannot find trait `UnknownTrait` in this scope
20 --> $DIR/impl-fn-nesting.rs:14:10
22 LL | impl UnknownTrait for ValidType {}
23 | ^^^^^^^^^^^^ not found in this scope
25 error[E0405]: cannot find trait `UnknownTrait` in this scope
26 --> $DIR/impl-fn-nesting.rs:15:27
28 LL | impl<T: UnknownBound> UnknownTrait for T {}
29 | ^^^^^^^^^^^^ not found in this scope
31 error[E0405]: cannot find trait `UnknownBound` in this scope
32 --> $DIR/impl-fn-nesting.rs:15:13
34 LL | impl<T: UnknownBound> UnknownTrait for T {}
35 | ^^^^^^^^^^^^ not found in this scope
37 error[E0412]: cannot find type `UnknownType` in this scope
38 --> $DIR/impl-fn-nesting.rs:18:25
40 LL | impl ValidTrait for UnknownType {}
41 | ^^^^^^^^^^^ not found in this scope
43 error[E0405]: cannot find trait `UnknownBound` in this scope
44 --> $DIR/impl-fn-nesting.rs:20:53
46 LL | impl ValidTrait for ValidType where ValidTrait: UnknownBound {}
47 | ^^^^^^^^^^^^ not found in this scope
49 error[E0412]: cannot find type `UnknownType` in this scope
50 --> $DIR/impl-fn-nesting.rs:25:21
52 LL | type Item = UnknownType;
53 | ^^^^^^^^^^^ not found in this scope
55 error[E0412]: cannot find type `UnknownType` in this scope
56 --> $DIR/impl-fn-nesting.rs:44:37
58 LL | pub fn doubly_nested(c: UnknownType) {
59 | ^^^^^^^^^^^ not found in this scope
61 error: Compilation failed, aborting rustdoc
63 error: aborting due to 11 previous errors
65 Some errors have detailed explanations: E0405, E0412.
66 For more information about an error, try `rustc --explain E0405`.