1 error: only lifetime parameters can be used in this context
2 --> $DIR/cfg-generic-params.rs:7:45
4 LL | type FnBad = for<#[cfg(no)] 'a, #[cfg(yes)] T> fn();
7 error: only lifetime parameters can be used in this context
8 --> $DIR/cfg-generic-params.rs:11:51
10 LL | type PolyBad = dyn for<#[cfg(no)] 'a, #[cfg(yes)] T> Copy;
13 error: only lifetime parameters can be used in this context
14 --> $DIR/cfg-generic-params.rs:15:54
16 LL | struct WhereBad where for<#[cfg(no)] 'a, #[cfg(yes)] T> u8: Copy;
19 error: cannot find attribute `unknown` in this scope
20 --> $DIR/cfg-generic-params.rs:19:29
22 LL | fn f_lt_yes<#[cfg_attr(yes, unknown)] 'a>() {}
25 error: cannot find attribute `unknown` in this scope
26 --> $DIR/cfg-generic-params.rs:22:29
28 LL | fn f_ty_yes<#[cfg_attr(yes, unknown)] T>() {}
31 error: cannot find attribute `unknown` in this scope
32 --> $DIR/cfg-generic-params.rs:26:34
34 LL | type FnYes = for<#[cfg_attr(yes, unknown)] 'a> fn();
37 error: cannot find attribute `unknown` in this scope
38 --> $DIR/cfg-generic-params.rs:30:40
40 LL | type PolyYes = dyn for<#[cfg_attr(yes, unknown)] 'a> Copy;
43 error: cannot find attribute `unknown` in this scope
44 --> $DIR/cfg-generic-params.rs:34:43
46 LL | struct WhereYes where for<#[cfg_attr(yes, unknown)] 'a> u8: Copy;
49 error: aborting due to 8 previous errors