Skip to content

Commit ad36f2b

Browse files
committed
turn rustc_box into an intrinsic
1 parent 1cc5051 commit ad36f2b

File tree

1 file changed

+8
-9
lines changed

1 file changed

+8
-9
lines changed

tests/ui-toml/disallowed_macros/disallowed_macros.stderr

+8-9
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,12 @@
1-
error: use of a disallowed macro `std::vec`
2-
--> tests/ui-toml/disallowed_macros/disallowed_macros.rs:16:5
3-
|
4-
LL | vec![1, 2, 3];
5-
| ^^^^^^^^^^^^^
6-
|
7-
= note: `-D clippy::disallowed-macros` implied by `-D warnings`
8-
= help: to override `-D warnings` add `#[allow(clippy::disallowed_macros)]`
9-
101
error: use of a disallowed macro `serde::Serialize`
112
--> tests/ui-toml/disallowed_macros/disallowed_macros.rs:18:14
123
|
134
LL | #[derive(Serialize)]
145
| ^^^^^^^^^
156
|
167
= note: no serializing
8+
= note: `-D clippy::disallowed-macros` implied by `-D warnings`
9+
= help: to override `-D warnings` add `#[allow(clippy::disallowed_macros)]`
1710

1811
error: use of a disallowed macro `macros::attr`
1912
--> tests/ui-toml/disallowed_macros/disallowed_macros.rs:31:1
@@ -47,6 +40,12 @@ error: use of a disallowed macro `std::cfg`
4740
LL | cfg!(unix);
4841
| ^^^^^^^^^^
4942

43+
error: use of a disallowed macro `std::vec`
44+
--> tests/ui-toml/disallowed_macros/disallowed_macros.rs:16:5
45+
|
46+
LL | vec![1, 2, 3];
47+
| ^^^^^^^^^^^^^
48+
5049
error: use of a disallowed macro `macros::expr`
5150
--> tests/ui-toml/disallowed_macros/disallowed_macros.rs:21:13
5251
|

0 commit comments

Comments
 (0)