File tree Expand file tree Collapse file tree 1 file changed +8
-9
lines changed
tests/ui-toml/disallowed_macros Expand file tree Collapse file tree 1 file changed +8
-9
lines changed Original file line number Diff line number Diff line change 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-
101error: use of a disallowed macro `serde::Serialize`
112 --> tests/ui-toml/disallowed_macros/disallowed_macros.rs:18:14
123 |
134LL | #[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
1811error: 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`
4740LL | 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+
5049error: use of a disallowed macro `macros::expr`
5150 --> tests/ui-toml/disallowed_macros/disallowed_macros.rs:21:13
5251 |
You can’t perform that action at this time.
0 commit comments