1 #![feature(param_attrs)]
6 //~^ ERROR documentation comments cannot be applied to function
8 //~^ ERROR The attribute `test` is currently unknown to the compiler and may have
10 //~^ ERROR documentation comments cannot be applied to function
12 //~^ ERROR allow, cfg, cfg_attr, deny, forbid, and warn are the only allowed built-in
14 //~^ ERROR documentation comments cannot be applied to function
16 //~^ ERROR allow, cfg, cfg_attr, deny, forbid, and warn are the only allowed built-in
22 //~^ ERROR documentation comments cannot be applied to function
24 //~^ ERROR The attribute `test` is currently unknown to the compiler and may have
26 //~^ ERROR documentation comments cannot be applied to function
28 //~^ ERROR allow, cfg, cfg_attr, deny, forbid, and warn are the only allowed built-in
30 //~^ ERROR documentation comments cannot be applied to function
32 //~^ ERROR allow, cfg, cfg_attr, deny, forbid, and warn are the only allowed built-in
37 //~^ ERROR documentation comments cannot be applied to function
39 //~^ ERROR The attribute `test` is currently unknown to the compiler and may have
41 //~^ ERROR documentation comments cannot be applied to function
43 //~^ ERROR allow, cfg, cfg_attr, deny, forbid, and warn are the only allowed built-in
45 //~^ ERROR documentation comments cannot be applied to function
47 //~^ ERROR allow, cfg, cfg_attr, deny, forbid, and warn are the only allowed built-in
54 //~^ ERROR documentation comments cannot be applied to function
57 //~^ ERROR documentation comments cannot be applied to function
59 //~^ ERROR The attribute `test` is currently unknown to the compiler and may have
61 //~^ ERROR documentation comments cannot be applied to function
63 //~^ ERROR allow, cfg, cfg_attr, deny, forbid, and warn are the only allowed built-in
65 //~^ ERROR documentation comments cannot be applied to function
67 //~^ ERROR allow, cfg, cfg_attr, deny, forbid, and warn are the only allowed built-in
75 //~^ ERROR documentation comments cannot be applied to function
78 //~^ ERROR documentation comments cannot be applied to function
80 //~^ ERROR The attribute `test` is currently unknown to the compiler and may have
82 //~^ ERROR documentation comments cannot be applied to function
84 //~^ ERROR allow, cfg, cfg_attr, deny, forbid, and warn are the only allowed built-in
86 //~^ ERROR documentation comments cannot be applied to function
88 //~^ ERROR allow, cfg, cfg_attr, deny, forbid, and warn are the only allowed built-in
94 //~^ ERROR documentation comments cannot be applied to function
97 //~^ ERROR documentation comments cannot be applied to function
99 //~^ ERROR The attribute `test` is currently unknown to the compiler and may have
101 //~^ ERROR documentation comments cannot be applied to function
103 //~^ ERROR allow, cfg, cfg_attr, deny, forbid, and warn are the only allowed built-in
105 //~^ ERROR documentation comments cannot be applied to function
107 //~^ ERROR allow, cfg, cfg_attr, deny, forbid, and warn are the only allowed built-in
110 impl RefTrait for RefStruct {
113 //~^ ERROR documentation comments cannot be applied to function
116 //~^ ERROR documentation comments cannot be applied to function
118 //~^ ERROR The attribute `test` is currently unknown to the compiler and may have
120 //~^ ERROR documentation comments cannot be applied to function
122 //~^ ERROR allow, cfg, cfg_attr, deny, forbid, and warn are the only allowed built-in
124 //~^ ERROR documentation comments cannot be applied to function
126 //~^ ERROR allow, cfg, cfg_attr, deny, forbid, and warn are the only allowed built-in
133 //~^ ERROR documentation comments cannot be applied to function
135 //~^ ERROR The attribute `test` is currently unknown to the compiler and may have
137 //~^ ERROR documentation comments cannot be applied to function
139 //~^ ERROR allow, cfg, cfg_attr, deny, forbid, and warn are the only allowed built-in
141 //~^ ERROR documentation comments cannot be applied to function
143 //~^ ERROR allow, cfg, cfg_attr, deny, forbid, and warn are the only allowed built-in