4 //~^ ERROR documentation comments cannot be applied to function
6 //~^ ERROR expected non-macro attribute, found attribute macro
8 //~^ ERROR documentation comments cannot be applied to function
10 //~^ ERROR allow, cfg, cfg_attr, deny, expect, forbid, and warn are the only allowed built-in attributes in function parameters
12 //~^ ERROR documentation comments cannot be applied to function
14 //~^ ERROR allow, cfg, cfg_attr, deny, expect, forbid, and warn are the only allowed built-in attributes in function parameters
20 //~^ ERROR documentation comments cannot be applied to function
22 //~^ ERROR expected non-macro attribute, found attribute macro
24 //~^ ERROR documentation comments cannot be applied to function
26 //~^ ERROR allow, cfg, cfg_attr, deny, expect, forbid, and warn are the only allowed built-in attributes in function parameters
28 //~^ ERROR documentation comments cannot be applied to function
30 //~^ ERROR allow, cfg, cfg_attr, deny, expect, forbid, and warn are the only allowed built-in attributes in function parameters
35 //~^ ERROR documentation comments cannot be applied to function
37 //~^ ERROR expected non-macro attribute, found attribute macro
39 //~^ ERROR documentation comments cannot be applied to function
41 //~^ ERROR allow, cfg, cfg_attr, deny, expect, forbid, and warn are the only allowed built-in attributes in function parameters
43 //~^ ERROR documentation comments cannot be applied to function
45 //~^ ERROR allow, cfg, cfg_attr, deny, expect, forbid, and warn are the only allowed built-in attributes in function parameters
52 //~^ ERROR documentation comments cannot be applied to function
55 //~^ ERROR documentation comments cannot be applied to function
57 //~^ ERROR expected non-macro attribute, found attribute macro
59 //~^ ERROR documentation comments cannot be applied to function
61 //~^ ERROR allow, cfg, cfg_attr, deny, expect, forbid, and warn are the only allowed built-in attributes in function parameters
63 //~^ ERROR documentation comments cannot be applied to function
65 //~^ ERROR allow, cfg, cfg_attr, deny, expect, forbid, and warn are the only allowed built-in attributes in function parameters
68 fn issue_64682_associated_fn(
70 //~^ ERROR documentation comments cannot be applied to function
72 //~^ ERROR expected non-macro attribute, found attribute macro
74 //~^ ERROR documentation comments cannot be applied to function
76 //~^ ERROR allow, cfg, cfg_attr, deny, expect, forbid, and warn are the only allowed built-in attributes in function parameters
78 //~^ ERROR documentation comments cannot be applied to function
80 //~^ ERROR allow, cfg, cfg_attr, deny, expect, forbid, and warn are the only allowed built-in attributes in function parameters
88 //~^ ERROR documentation comments cannot be applied to function
91 //~^ ERROR documentation comments cannot be applied to function
93 //~^ ERROR expected non-macro attribute, found attribute macro
95 //~^ ERROR documentation comments cannot be applied to function
97 //~^ ERROR allow, cfg, cfg_attr, deny, expect, forbid, and warn are the only allowed built-in attributes in function parameters
99 //~^ ERROR documentation comments cannot be applied to function
101 //~^ ERROR allow, cfg, cfg_attr, deny, expect, forbid, and warn are the only allowed built-in attributes in function parameters
107 //~^ ERROR documentation comments cannot be applied to function
110 //~^ ERROR documentation comments cannot be applied to function
112 //~^ ERROR expected non-macro attribute, found attribute macro
114 //~^ ERROR documentation comments cannot be applied to function
116 //~^ ERROR allow, cfg, cfg_attr, deny, expect, forbid, and warn are the only allowed built-in attributes in function parameters
118 //~^ ERROR documentation comments cannot be applied to function
120 //~^ ERROR allow, cfg, cfg_attr, deny, expect, forbid, and warn are the only allowed built-in attributes in function parameters
123 fn issue_64682_associated_fn(
125 //~^ ERROR documentation comments cannot be applied to function
127 //~^ ERROR expected non-macro attribute, found attribute macro
129 //~^ ERROR documentation comments cannot be applied to function
131 //~^ ERROR allow, cfg, cfg_attr, deny, expect, forbid, and warn are the only allowed built-in attributes in function parameters
133 //~^ ERROR documentation comments cannot be applied to function
135 //~^ ERROR allow, cfg, cfg_attr, deny, expect, forbid, and warn are the only allowed built-in attributes in function parameters
139 impl RefTrait for RefStruct {
142 //~^ ERROR documentation comments cannot be applied to function
145 //~^ ERROR documentation comments cannot be applied to function
147 //~^ ERROR expected non-macro attribute, found attribute macro
149 //~^ ERROR documentation comments cannot be applied to function
151 //~^ ERROR allow, cfg, cfg_attr, deny, expect, forbid, and warn are the only allowed built-in attributes in function parameters
153 //~^ ERROR documentation comments cannot be applied to function
155 //~^ ERROR allow, cfg, cfg_attr, deny, expect, forbid, and warn are the only allowed built-in attributes in function parameters
162 //~^ ERROR documentation comments cannot be applied to function
164 //~^ ERROR expected non-macro attribute, found attribute macro
166 //~^ ERROR documentation comments cannot be applied to function
168 //~^ ERROR allow, cfg, cfg_attr, deny, expect, forbid, and warn are the only allowed built-in attributes in function parameters
170 //~^ ERROR documentation comments cannot be applied to function
172 //~^ ERROR allow, cfg, cfg_attr, deny, expect, forbid, and warn are the only allowed built-in attributes in function parameters