2020-11-18 16:49:20 -06:00
|
|
|
error: expected non-macro attribute, found attribute macro `test`
|
|
|
|
--> $DIR/param-attrs-builtin-attrs.rs:5:11
|
2019-09-09 07:26:25 -05:00
|
|
|
|
|
|
|
|
LL | #[test] a: i32,
|
2020-11-18 16:49:20 -06:00
|
|
|
| ^^^^ not a non-macro attribute
|
2019-09-09 07:26:25 -05:00
|
|
|
|
2020-11-18 16:49:20 -06:00
|
|
|
error: expected non-macro attribute, found attribute macro `test`
|
|
|
|
--> $DIR/param-attrs-builtin-attrs.rs:21:7
|
2019-09-09 07:26:25 -05:00
|
|
|
|
|
|
|
|
LL | #[test] a: u32,
|
2020-11-18 16:49:20 -06:00
|
|
|
| ^^^^ not a non-macro attribute
|
2019-09-09 07:26:25 -05:00
|
|
|
|
2020-11-18 16:49:20 -06:00
|
|
|
error: expected non-macro attribute, found attribute macro `test`
|
|
|
|
--> $DIR/param-attrs-builtin-attrs.rs:36:7
|
2019-09-09 07:26:25 -05:00
|
|
|
|
|
|
|
|
LL | #[test] a: u32,
|
2020-11-18 16:49:20 -06:00
|
|
|
| ^^^^ not a non-macro attribute
|
2019-09-09 07:26:25 -05:00
|
|
|
|
2020-11-18 16:49:20 -06:00
|
|
|
error: expected non-macro attribute, found attribute macro `test`
|
|
|
|
--> $DIR/param-attrs-builtin-attrs.rs:56:11
|
2019-09-09 07:26:25 -05:00
|
|
|
|
|
|
|
|
LL | #[test] a: i32,
|
2020-11-18 16:49:20 -06:00
|
|
|
| ^^^^ not a non-macro attribute
|
2019-09-09 07:26:25 -05:00
|
|
|
|
2020-11-18 16:49:20 -06:00
|
|
|
error: expected non-macro attribute, found attribute macro `test`
|
|
|
|
--> $DIR/param-attrs-builtin-attrs.rs:71:11
|
2019-09-09 07:26:25 -05:00
|
|
|
|
|
|
|
|
LL | #[test] a: i32,
|
2020-11-18 16:49:20 -06:00
|
|
|
| ^^^^ not a non-macro attribute
|
2019-09-09 07:26:25 -05:00
|
|
|
|
2020-11-18 16:49:20 -06:00
|
|
|
error: expected non-macro attribute, found attribute macro `test`
|
|
|
|
--> $DIR/param-attrs-builtin-attrs.rs:92:11
|
2019-09-09 07:26:25 -05:00
|
|
|
|
|
|
|
|
LL | #[test] a: i32,
|
2020-11-18 16:49:20 -06:00
|
|
|
| ^^^^ not a non-macro attribute
|
2019-09-09 07:26:25 -05:00
|
|
|
|
2020-11-18 16:49:20 -06:00
|
|
|
error: expected non-macro attribute, found attribute macro `test`
|
|
|
|
--> $DIR/param-attrs-builtin-attrs.rs:111:11
|
2019-09-09 07:26:25 -05:00
|
|
|
|
|
|
|
|
LL | #[test] a: i32,
|
2020-11-18 16:49:20 -06:00
|
|
|
| ^^^^ not a non-macro attribute
|
2019-09-09 07:26:25 -05:00
|
|
|
|
2020-11-18 16:49:20 -06:00
|
|
|
error: expected non-macro attribute, found attribute macro `test`
|
|
|
|
--> $DIR/param-attrs-builtin-attrs.rs:126:11
|
2019-09-29 02:26:02 -05:00
|
|
|
|
|
|
|
|
LL | #[test] a: i32,
|
2020-11-18 16:49:20 -06:00
|
|
|
| ^^^^ not a non-macro attribute
|
2019-09-29 02:26:02 -05:00
|
|
|
|
2020-11-18 16:49:20 -06:00
|
|
|
error: expected non-macro attribute, found attribute macro `test`
|
|
|
|
--> $DIR/param-attrs-builtin-attrs.rs:146:11
|
2019-09-29 02:26:02 -05:00
|
|
|
|
|
|
|
|
LL | #[test] a: i32,
|
2020-11-18 16:49:20 -06:00
|
|
|
| ^^^^ not a non-macro attribute
|
2019-09-29 02:26:02 -05:00
|
|
|
|
2020-11-18 16:49:20 -06:00
|
|
|
error: expected non-macro attribute, found attribute macro `test`
|
|
|
|
--> $DIR/param-attrs-builtin-attrs.rs:163:11
|
2019-09-09 07:26:25 -05:00
|
|
|
|
|
|
|
|
LL | #[test] a: u32,
|
2020-11-18 16:49:20 -06:00
|
|
|
| ^^^^ not a non-macro attribute
|
2019-09-09 07:26:25 -05:00
|
|
|
|
2019-06-09 05:58:40 -05:00
|
|
|
error: documentation comments cannot be applied to function parameters
|
2019-08-29 18:44:30 -05:00
|
|
|
--> $DIR/param-attrs-builtin-attrs.rs:3:9
|
2019-06-09 05:58:40 -05:00
|
|
|
|
|
|
|
|
LL | /// Foo
|
|
|
|
| ^^^^^^^ doc comments are not allowed here
|
|
|
|
|
|
|
|
error: documentation comments cannot be applied to function parameters
|
2019-08-29 18:44:30 -05:00
|
|
|
--> $DIR/param-attrs-builtin-attrs.rs:7:9
|
2019-06-09 05:58:40 -05:00
|
|
|
|
|
|
|
|
LL | /// Bar
|
|
|
|
| ^^^^^^^ doc comments are not allowed here
|
|
|
|
|
2022-06-03 17:04:19 -05:00
|
|
|
error: allow, cfg, cfg_attr, deny, expect, forbid, and warn are the only allowed built-in attributes in function parameters
|
2019-08-29 18:44:30 -05:00
|
|
|
--> $DIR/param-attrs-builtin-attrs.rs:9:9
|
2019-06-09 05:58:40 -05:00
|
|
|
|
|
|
|
|
LL | #[must_use]
|
|
|
|
| ^^^^^^^^^^^
|
|
|
|
|
|
|
|
error: documentation comments cannot be applied to function parameters
|
2019-08-29 18:44:30 -05:00
|
|
|
--> $DIR/param-attrs-builtin-attrs.rs:11:9
|
2019-06-09 05:58:40 -05:00
|
|
|
|
|
|
|
|
LL | /// Baz
|
|
|
|
| ^^^^^^^ doc comments are not allowed here
|
|
|
|
|
2022-06-03 17:04:19 -05:00
|
|
|
error: allow, cfg, cfg_attr, deny, expect, forbid, and warn are the only allowed built-in attributes in function parameters
|
2019-08-29 18:44:30 -05:00
|
|
|
--> $DIR/param-attrs-builtin-attrs.rs:13:9
|
2019-06-09 05:58:40 -05:00
|
|
|
|
|
|
|
|
LL | #[no_mangle] b: i32,
|
|
|
|
| ^^^^^^^^^^^^
|
|
|
|
|
|
|
|
error: documentation comments cannot be applied to function parameters
|
2019-08-29 18:44:30 -05:00
|
|
|
--> $DIR/param-attrs-builtin-attrs.rs:19:5
|
2019-06-09 05:58:40 -05:00
|
|
|
|
|
|
|
|
LL | /// Foo
|
|
|
|
| ^^^^^^^ doc comments are not allowed here
|
|
|
|
|
|
|
|
error: documentation comments cannot be applied to function parameters
|
2019-08-29 18:44:30 -05:00
|
|
|
--> $DIR/param-attrs-builtin-attrs.rs:23:5
|
2019-06-09 05:58:40 -05:00
|
|
|
|
|
|
|
|
LL | /// Bar
|
|
|
|
| ^^^^^^^ doc comments are not allowed here
|
|
|
|
|
2022-06-03 17:04:19 -05:00
|
|
|
error: allow, cfg, cfg_attr, deny, expect, forbid, and warn are the only allowed built-in attributes in function parameters
|
2019-08-29 18:44:30 -05:00
|
|
|
--> $DIR/param-attrs-builtin-attrs.rs:25:5
|
2019-06-09 05:58:40 -05:00
|
|
|
|
|
|
|
|
LL | #[must_use]
|
|
|
|
| ^^^^^^^^^^^
|
|
|
|
|
|
|
|
error: documentation comments cannot be applied to function parameters
|
2019-08-29 18:44:30 -05:00
|
|
|
--> $DIR/param-attrs-builtin-attrs.rs:27:5
|
2019-06-09 05:58:40 -05:00
|
|
|
|
|
|
|
|
LL | /// Baz
|
|
|
|
| ^^^^^^^ doc comments are not allowed here
|
|
|
|
|
2022-06-03 17:04:19 -05:00
|
|
|
error: allow, cfg, cfg_attr, deny, expect, forbid, and warn are the only allowed built-in attributes in function parameters
|
2019-08-29 18:44:30 -05:00
|
|
|
--> $DIR/param-attrs-builtin-attrs.rs:29:5
|
2019-06-09 05:58:40 -05:00
|
|
|
|
|
|
|
|
LL | #[no_mangle] b: i32,
|
|
|
|
| ^^^^^^^^^^^^
|
|
|
|
|
|
|
|
error: documentation comments cannot be applied to function parameters
|
2019-08-29 18:44:30 -05:00
|
|
|
--> $DIR/param-attrs-builtin-attrs.rs:34:5
|
2019-06-09 05:58:40 -05:00
|
|
|
|
|
|
|
|
LL | /// Foo
|
|
|
|
| ^^^^^^^ doc comments are not allowed here
|
|
|
|
|
|
|
|
error: documentation comments cannot be applied to function parameters
|
2019-08-29 18:44:30 -05:00
|
|
|
--> $DIR/param-attrs-builtin-attrs.rs:38:5
|
2019-06-09 05:58:40 -05:00
|
|
|
|
|
|
|
|
LL | /// Bar
|
|
|
|
| ^^^^^^^ doc comments are not allowed here
|
|
|
|
|
2022-06-03 17:04:19 -05:00
|
|
|
error: allow, cfg, cfg_attr, deny, expect, forbid, and warn are the only allowed built-in attributes in function parameters
|
2019-08-29 18:44:30 -05:00
|
|
|
--> $DIR/param-attrs-builtin-attrs.rs:40:5
|
2019-06-09 05:58:40 -05:00
|
|
|
|
|
|
|
|
LL | #[must_use]
|
|
|
|
| ^^^^^^^^^^^
|
|
|
|
|
|
|
|
error: documentation comments cannot be applied to function parameters
|
2019-08-29 18:44:30 -05:00
|
|
|
--> $DIR/param-attrs-builtin-attrs.rs:42:5
|
2019-06-09 05:58:40 -05:00
|
|
|
|
|
|
|
|
LL | /// Baz
|
|
|
|
| ^^^^^^^ doc comments are not allowed here
|
|
|
|
|
2022-06-03 17:04:19 -05:00
|
|
|
error: allow, cfg, cfg_attr, deny, expect, forbid, and warn are the only allowed built-in attributes in function parameters
|
2019-08-29 18:44:30 -05:00
|
|
|
--> $DIR/param-attrs-builtin-attrs.rs:44:5
|
2019-06-09 05:58:40 -05:00
|
|
|
|
|
|
|
|
LL | #[no_mangle] b: i32,
|
|
|
|
| ^^^^^^^^^^^^
|
|
|
|
|
|
|
|
error: documentation comments cannot be applied to function parameters
|
2019-08-29 18:44:30 -05:00
|
|
|
--> $DIR/param-attrs-builtin-attrs.rs:51:9
|
2019-06-09 05:58:40 -05:00
|
|
|
|
|
|
|
|
LL | /// Foo
|
|
|
|
| ^^^^^^^ doc comments are not allowed here
|
|
|
|
|
|
|
|
error: documentation comments cannot be applied to function parameters
|
2019-08-29 18:44:30 -05:00
|
|
|
--> $DIR/param-attrs-builtin-attrs.rs:54:9
|
2019-06-09 05:58:40 -05:00
|
|
|
|
|
|
|
|
LL | /// Bar
|
|
|
|
| ^^^^^^^ doc comments are not allowed here
|
|
|
|
|
|
|
|
error: documentation comments cannot be applied to function parameters
|
2019-08-29 18:44:30 -05:00
|
|
|
--> $DIR/param-attrs-builtin-attrs.rs:58:9
|
2019-06-09 05:58:40 -05:00
|
|
|
|
|
|
|
|
LL | /// Baz
|
|
|
|
| ^^^^^^^ doc comments are not allowed here
|
|
|
|
|
2022-06-03 17:04:19 -05:00
|
|
|
error: allow, cfg, cfg_attr, deny, expect, forbid, and warn are the only allowed built-in attributes in function parameters
|
2019-08-29 18:44:30 -05:00
|
|
|
--> $DIR/param-attrs-builtin-attrs.rs:60:9
|
2019-06-09 05:58:40 -05:00
|
|
|
|
|
|
|
|
LL | #[must_use]
|
|
|
|
| ^^^^^^^^^^^
|
|
|
|
|
|
|
|
error: documentation comments cannot be applied to function parameters
|
2019-08-29 18:44:30 -05:00
|
|
|
--> $DIR/param-attrs-builtin-attrs.rs:62:9
|
2019-06-09 05:58:40 -05:00
|
|
|
|
|
|
|
|
LL | /// Qux
|
|
|
|
| ^^^^^^^ doc comments are not allowed here
|
|
|
|
|
2022-06-03 17:04:19 -05:00
|
|
|
error: allow, cfg, cfg_attr, deny, expect, forbid, and warn are the only allowed built-in attributes in function parameters
|
2019-08-29 18:44:30 -05:00
|
|
|
--> $DIR/param-attrs-builtin-attrs.rs:64:9
|
2019-06-09 05:58:40 -05:00
|
|
|
|
|
|
|
|
LL | #[no_mangle] b: i32,
|
|
|
|
| ^^^^^^^^^^^^
|
|
|
|
|
|
|
|
error: documentation comments cannot be applied to function parameters
|
2019-09-29 02:26:02 -05:00
|
|
|
--> $DIR/param-attrs-builtin-attrs.rs:69:9
|
2019-06-09 05:58:40 -05:00
|
|
|
|
|
|
|
|
LL | /// Foo
|
|
|
|
| ^^^^^^^ doc comments are not allowed here
|
|
|
|
|
|
|
|
error: documentation comments cannot be applied to function parameters
|
2019-09-29 02:26:02 -05:00
|
|
|
--> $DIR/param-attrs-builtin-attrs.rs:73:9
|
|
|
|
|
|
|
|
|
LL | /// Baz
|
|
|
|
| ^^^^^^^ doc comments are not allowed here
|
|
|
|
|
2022-06-03 17:04:19 -05:00
|
|
|
error: allow, cfg, cfg_attr, deny, expect, forbid, and warn are the only allowed built-in attributes in function parameters
|
2019-08-29 18:44:30 -05:00
|
|
|
--> $DIR/param-attrs-builtin-attrs.rs:75:9
|
2019-06-09 05:58:40 -05:00
|
|
|
|
|
2019-09-29 02:26:02 -05:00
|
|
|
LL | #[must_use]
|
|
|
|
| ^^^^^^^^^^^
|
|
|
|
|
|
|
|
error: documentation comments cannot be applied to function parameters
|
|
|
|
--> $DIR/param-attrs-builtin-attrs.rs:77:9
|
|
|
|
|
|
|
|
|
LL | /// Qux
|
|
|
|
| ^^^^^^^ doc comments are not allowed here
|
|
|
|
|
2022-06-03 17:04:19 -05:00
|
|
|
error: allow, cfg, cfg_attr, deny, expect, forbid, and warn are the only allowed built-in attributes in function parameters
|
2019-09-29 02:26:02 -05:00
|
|
|
--> $DIR/param-attrs-builtin-attrs.rs:79:9
|
|
|
|
|
|
|
|
|
LL | #[no_mangle] b: i32,
|
|
|
|
| ^^^^^^^^^^^^
|
|
|
|
|
|
|
|
error: documentation comments cannot be applied to function parameters
|
|
|
|
--> $DIR/param-attrs-builtin-attrs.rs:87:9
|
|
|
|
|
|
|
|
|
LL | /// Foo
|
|
|
|
| ^^^^^^^ doc comments are not allowed here
|
|
|
|
|
|
|
|
error: documentation comments cannot be applied to function parameters
|
|
|
|
--> $DIR/param-attrs-builtin-attrs.rs:90:9
|
|
|
|
|
|
2019-06-09 05:58:40 -05:00
|
|
|
LL | /// Bar
|
|
|
|
| ^^^^^^^ doc comments are not allowed here
|
|
|
|
|
|
|
|
error: documentation comments cannot be applied to function parameters
|
2019-09-29 02:26:02 -05:00
|
|
|
--> $DIR/param-attrs-builtin-attrs.rs:94:9
|
2019-06-09 05:58:40 -05:00
|
|
|
|
|
|
|
|
LL | /// Baz
|
|
|
|
| ^^^^^^^ doc comments are not allowed here
|
|
|
|
|
2022-06-03 17:04:19 -05:00
|
|
|
error: allow, cfg, cfg_attr, deny, expect, forbid, and warn are the only allowed built-in attributes in function parameters
|
2019-09-29 02:26:02 -05:00
|
|
|
--> $DIR/param-attrs-builtin-attrs.rs:96:9
|
2019-06-09 05:58:40 -05:00
|
|
|
|
|
|
|
|
LL | #[must_use]
|
|
|
|
| ^^^^^^^^^^^
|
|
|
|
|
|
|
|
error: documentation comments cannot be applied to function parameters
|
2019-09-29 02:26:02 -05:00
|
|
|
--> $DIR/param-attrs-builtin-attrs.rs:98:9
|
2019-06-09 05:58:40 -05:00
|
|
|
|
|
|
|
|
LL | /// Qux
|
|
|
|
| ^^^^^^^ doc comments are not allowed here
|
|
|
|
|
2022-06-03 17:04:19 -05:00
|
|
|
error: allow, cfg, cfg_attr, deny, expect, forbid, and warn are the only allowed built-in attributes in function parameters
|
2019-09-29 02:26:02 -05:00
|
|
|
--> $DIR/param-attrs-builtin-attrs.rs:100:9
|
2019-06-09 05:58:40 -05:00
|
|
|
|
|
|
|
|
LL | #[no_mangle] b: i32,
|
|
|
|
| ^^^^^^^^^^^^
|
|
|
|
|
|
|
|
error: documentation comments cannot be applied to function parameters
|
2019-09-29 02:26:02 -05:00
|
|
|
--> $DIR/param-attrs-builtin-attrs.rs:106:9
|
2019-06-09 05:58:40 -05:00
|
|
|
|
|
|
|
|
LL | /// Foo
|
|
|
|
| ^^^^^^^ doc comments are not allowed here
|
|
|
|
|
|
|
|
error: documentation comments cannot be applied to function parameters
|
2019-09-29 02:26:02 -05:00
|
|
|
--> $DIR/param-attrs-builtin-attrs.rs:109:9
|
2019-06-09 05:58:40 -05:00
|
|
|
|
|
|
|
|
LL | /// Bar
|
|
|
|
| ^^^^^^^ doc comments are not allowed here
|
|
|
|
|
|
|
|
error: documentation comments cannot be applied to function parameters
|
2019-09-29 02:26:02 -05:00
|
|
|
--> $DIR/param-attrs-builtin-attrs.rs:113:9
|
2019-06-09 05:58:40 -05:00
|
|
|
|
|
|
|
|
LL | /// Baz
|
|
|
|
| ^^^^^^^ doc comments are not allowed here
|
|
|
|
|
2022-06-03 17:04:19 -05:00
|
|
|
error: allow, cfg, cfg_attr, deny, expect, forbid, and warn are the only allowed built-in attributes in function parameters
|
2019-09-29 02:26:02 -05:00
|
|
|
--> $DIR/param-attrs-builtin-attrs.rs:115:9
|
2019-06-09 05:58:40 -05:00
|
|
|
|
|
|
|
|
LL | #[must_use]
|
|
|
|
| ^^^^^^^^^^^
|
|
|
|
|
|
|
|
error: documentation comments cannot be applied to function parameters
|
2019-09-29 02:26:02 -05:00
|
|
|
--> $DIR/param-attrs-builtin-attrs.rs:117:9
|
2019-06-09 05:58:40 -05:00
|
|
|
|
|
|
|
|
LL | /// Qux
|
|
|
|
| ^^^^^^^ doc comments are not allowed here
|
|
|
|
|
2022-06-03 17:04:19 -05:00
|
|
|
error: allow, cfg, cfg_attr, deny, expect, forbid, and warn are the only allowed built-in attributes in function parameters
|
2019-09-29 02:26:02 -05:00
|
|
|
--> $DIR/param-attrs-builtin-attrs.rs:119:9
|
2019-06-09 05:58:40 -05:00
|
|
|
|
|
|
|
|
LL | #[no_mangle] b: i32,
|
|
|
|
| ^^^^^^^^^^^^
|
|
|
|
|
|
|
|
error: documentation comments cannot be applied to function parameters
|
2019-09-29 02:26:02 -05:00
|
|
|
--> $DIR/param-attrs-builtin-attrs.rs:124:9
|
2019-06-09 05:58:40 -05:00
|
|
|
|
|
|
|
|
LL | /// Foo
|
|
|
|
| ^^^^^^^ doc comments are not allowed here
|
|
|
|
|
|
|
|
error: documentation comments cannot be applied to function parameters
|
2019-09-29 02:26:02 -05:00
|
|
|
--> $DIR/param-attrs-builtin-attrs.rs:128:9
|
|
|
|
|
|
|
|
|
LL | /// Baz
|
|
|
|
| ^^^^^^^ doc comments are not allowed here
|
|
|
|
|
2022-06-03 17:04:19 -05:00
|
|
|
error: allow, cfg, cfg_attr, deny, expect, forbid, and warn are the only allowed built-in attributes in function parameters
|
2019-09-29 02:26:02 -05:00
|
|
|
--> $DIR/param-attrs-builtin-attrs.rs:130:9
|
|
|
|
|
|
|
|
|
LL | #[must_use]
|
|
|
|
| ^^^^^^^^^^^
|
|
|
|
|
|
|
|
error: documentation comments cannot be applied to function parameters
|
|
|
|
--> $DIR/param-attrs-builtin-attrs.rs:132:9
|
|
|
|
|
|
|
|
|
LL | /// Qux
|
|
|
|
| ^^^^^^^ doc comments are not allowed here
|
|
|
|
|
2022-06-03 17:04:19 -05:00
|
|
|
error: allow, cfg, cfg_attr, deny, expect, forbid, and warn are the only allowed built-in attributes in function parameters
|
2019-09-29 02:26:02 -05:00
|
|
|
--> $DIR/param-attrs-builtin-attrs.rs:134:9
|
|
|
|
|
|
|
|
|
LL | #[no_mangle] b: i32,
|
|
|
|
| ^^^^^^^^^^^^
|
|
|
|
|
|
|
|
error: documentation comments cannot be applied to function parameters
|
|
|
|
--> $DIR/param-attrs-builtin-attrs.rs:141:9
|
|
|
|
|
|
|
|
|
LL | /// Foo
|
|
|
|
| ^^^^^^^ doc comments are not allowed here
|
|
|
|
|
|
|
|
error: documentation comments cannot be applied to function parameters
|
|
|
|
--> $DIR/param-attrs-builtin-attrs.rs:144:9
|
2019-06-09 05:58:40 -05:00
|
|
|
|
|
|
|
|
LL | /// Bar
|
|
|
|
| ^^^^^^^ doc comments are not allowed here
|
|
|
|
|
|
|
|
error: documentation comments cannot be applied to function parameters
|
2019-09-29 02:26:02 -05:00
|
|
|
--> $DIR/param-attrs-builtin-attrs.rs:148:9
|
2019-06-09 05:58:40 -05:00
|
|
|
|
|
|
|
|
LL | /// Baz
|
|
|
|
| ^^^^^^^ doc comments are not allowed here
|
|
|
|
|
2022-06-03 17:04:19 -05:00
|
|
|
error: allow, cfg, cfg_attr, deny, expect, forbid, and warn are the only allowed built-in attributes in function parameters
|
2019-09-29 02:26:02 -05:00
|
|
|
--> $DIR/param-attrs-builtin-attrs.rs:150:9
|
2019-06-09 05:58:40 -05:00
|
|
|
|
|
|
|
|
LL | #[must_use]
|
|
|
|
| ^^^^^^^^^^^
|
|
|
|
|
|
|
|
error: documentation comments cannot be applied to function parameters
|
2019-09-29 02:26:02 -05:00
|
|
|
--> $DIR/param-attrs-builtin-attrs.rs:152:9
|
2019-06-09 05:58:40 -05:00
|
|
|
|
|
|
|
|
LL | /// Qux
|
|
|
|
| ^^^^^^^ doc comments are not allowed here
|
|
|
|
|
2022-06-03 17:04:19 -05:00
|
|
|
error: allow, cfg, cfg_attr, deny, expect, forbid, and warn are the only allowed built-in attributes in function parameters
|
2019-09-29 02:26:02 -05:00
|
|
|
--> $DIR/param-attrs-builtin-attrs.rs:154:9
|
2019-06-09 05:58:40 -05:00
|
|
|
|
|
|
|
|
LL | #[no_mangle] b: i32,
|
|
|
|
| ^^^^^^^^^^^^
|
|
|
|
|
|
|
|
error: documentation comments cannot be applied to function parameters
|
2019-09-29 02:26:02 -05:00
|
|
|
--> $DIR/param-attrs-builtin-attrs.rs:161:9
|
2019-06-09 05:58:40 -05:00
|
|
|
|
|
|
|
|
LL | /// Foo
|
|
|
|
| ^^^^^^^ doc comments are not allowed here
|
|
|
|
|
|
|
|
error: documentation comments cannot be applied to function parameters
|
2019-09-29 02:26:02 -05:00
|
|
|
--> $DIR/param-attrs-builtin-attrs.rs:165:9
|
2019-06-09 05:58:40 -05:00
|
|
|
|
|
|
|
|
LL | /// Bar
|
|
|
|
| ^^^^^^^ doc comments are not allowed here
|
|
|
|
|
2022-06-03 17:04:19 -05:00
|
|
|
error: allow, cfg, cfg_attr, deny, expect, forbid, and warn are the only allowed built-in attributes in function parameters
|
2019-09-29 02:26:02 -05:00
|
|
|
--> $DIR/param-attrs-builtin-attrs.rs:167:9
|
2019-06-09 05:58:40 -05:00
|
|
|
|
|
|
|
|
LL | #[must_use]
|
|
|
|
| ^^^^^^^^^^^
|
|
|
|
|
|
|
|
error: documentation comments cannot be applied to function parameters
|
2019-09-29 02:26:02 -05:00
|
|
|
--> $DIR/param-attrs-builtin-attrs.rs:169:9
|
2019-06-09 05:58:40 -05:00
|
|
|
|
|
|
|
|
LL | /// Baz
|
|
|
|
| ^^^^^^^ doc comments are not allowed here
|
|
|
|
|
2022-06-03 17:04:19 -05:00
|
|
|
error: allow, cfg, cfg_attr, deny, expect, forbid, and warn are the only allowed built-in attributes in function parameters
|
2019-09-29 02:26:02 -05:00
|
|
|
--> $DIR/param-attrs-builtin-attrs.rs:171:9
|
2019-06-09 05:58:40 -05:00
|
|
|
|
|
|
|
|
LL | #[no_mangle] b: i32
|
|
|
|
| ^^^^^^^^^^^^
|
|
|
|
|
2019-09-29 02:26:02 -05:00
|
|
|
error: aborting due to 64 previous errors
|
2019-06-09 05:58:40 -05:00
|
|
|
|