1 warning: `#[no_coverage]` does not propagate into items and must be applied to the contained functions directly
2 --> $DIR/no-coverage.rs:8:1
7 note: the lint level is defined here
8 --> $DIR/no-coverage.rs:4:9
10 LL | #![warn(unused_attributes)]
13 warning: `#[no_coverage]` does not propagate into items and must be applied to the contained functions directly
14 --> $DIR/no-coverage.rs:20:1
19 warning: `#[no_coverage]` may only be applied to function definitions
20 --> $DIR/no-coverage.rs:42:5
25 warning: `#[no_coverage]` may only be applied to function definitions
26 --> $DIR/no-coverage.rs:47:9
31 warning: `#[no_coverage]` may only be applied to function definitions
32 --> $DIR/no-coverage.rs:52:5
37 error[E0788]: `#[no_coverage]` must be applied to coverable code
38 --> $DIR/no-coverage.rs:11:5
43 | ------------- not coverable code
45 error[E0788]: `#[no_coverage]` must be applied to coverable code
46 --> $DIR/no-coverage.rs:14:5
51 | ------- not coverable code
53 error[E0788]: `#[no_coverage]` must be applied to coverable code
54 --> $DIR/no-coverage.rs:25:5
59 | -------------- not coverable code
61 error[E0788]: `#[no_coverage]` must be applied to coverable code
62 --> $DIR/no-coverage.rs:28:5
66 LL | type U = impl Trait;
67 | -------------------- not coverable code
69 error[E0788]: `#[no_coverage]` must be applied to coverable code
70 --> $DIR/no-coverage.rs:33:5
75 | -------------- not coverable code
77 error[E0788]: `#[no_coverage]` must be applied to coverable code
78 --> $DIR/no-coverage.rs:36:5
83 | ------- not coverable code
85 warning: `#[no_coverage]` does not propagate into items and must be applied to the contained functions directly
86 --> $DIR/no-coverage.rs:5:1
91 error: unconstrained opaque type
92 --> $DIR/no-coverage.rs:29:14
94 LL | type U = impl Trait;
97 = note: `U` must be used in combination with a concrete type within the same module
99 error: aborting due to 7 previous errors; 6 warnings emitted
101 For more information about this error, try `rustc --explain E0788`.