]> git.proxmox.com Git - rustc.git/blame - src/test/ui/conditional-compilation/cfg-generic-params.stderr
Update unsuspicious file list
[rustc.git] / src / test / ui / conditional-compilation / cfg-generic-params.stderr
CommitLineData
dc9dc135
XL
1error: only lifetime parameters can be used in this context
2 --> $DIR/cfg-generic-params.rs:7:45
3 |
4LL | type FnBad = for<#[cfg(no)] 'a, #[cfg(yes)] T> fn();
5 | ^
6
7error: only lifetime parameters can be used in this context
8 --> $DIR/cfg-generic-params.rs:11:51
9 |
10LL | type PolyBad = dyn for<#[cfg(no)] 'a, #[cfg(yes)] T> Copy;
11 | ^
12
13error: only lifetime parameters can be used in this context
14 --> $DIR/cfg-generic-params.rs:15:54
15 |
16LL | struct WhereBad where for<#[cfg(no)] 'a, #[cfg(yes)] T> u8: Copy;
17 | ^
18
e1599b0c 19error: cannot find attribute `unknown` in this scope
fc512014 20 --> $DIR/cfg-generic-params.rs:19:29
dc9dc135 21 |
fc512014
XL
22LL | fn f_lt_yes<#[cfg_attr(yes, unknown)] 'a>() {}
23 | ^^^^^^^
dc9dc135 24
e1599b0c 25error: cannot find attribute `unknown` in this scope
fc512014 26 --> $DIR/cfg-generic-params.rs:22:29
dc9dc135 27 |
fc512014
XL
28LL | fn f_ty_yes<#[cfg_attr(yes, unknown)] T>() {}
29 | ^^^^^^^
dc9dc135 30
e1599b0c
XL
31error: cannot find attribute `unknown` in this scope
32 --> $DIR/cfg-generic-params.rs:26:34
dc9dc135
XL
33 |
34LL | type FnYes = for<#[cfg_attr(yes, unknown)] 'a> fn();
35 | ^^^^^^^
dc9dc135 36
e1599b0c 37error: cannot find attribute `unknown` in this scope
fc512014 38 --> $DIR/cfg-generic-params.rs:30:40
dc9dc135 39 |
fc512014
XL
40LL | type PolyYes = dyn for<#[cfg_attr(yes, unknown)] 'a> Copy;
41 | ^^^^^^^
dc9dc135 42
e1599b0c 43error: cannot find attribute `unknown` in this scope
fc512014 44 --> $DIR/cfg-generic-params.rs:34:43
dc9dc135 45 |
fc512014
XL
46LL | struct WhereYes where for<#[cfg_attr(yes, unknown)] 'a> u8: Copy;
47 | ^^^^^^^
dc9dc135
XL
48
49error: aborting due to 8 previous errors
50