File tree 1 file changed +8
-9
lines changed
tests/ui-toml/disallowed_macros
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
-
10
1
error: use of a disallowed macro `serde::Serialize`
11
2
--> tests/ui-toml/disallowed_macros/disallowed_macros.rs:18:14
12
3
|
13
4
LL | #[derive(Serialize)]
14
5
| ^^^^^^^^^
15
6
|
16
7
= note: no serializing
8
+ = note: `-D clippy::disallowed-macros` implied by `-D warnings`
9
+ = help: to override `-D warnings` add `#[allow(clippy::disallowed_macros)]`
17
10
18
11
error: use of a disallowed macro `macros::attr`
19
12
--> tests/ui-toml/disallowed_macros/disallowed_macros.rs:31:1
@@ -47,6 +40,12 @@ error: use of a disallowed macro `std::cfg`
47
40
LL | cfg!(unix);
48
41
| ^^^^^^^^^^
49
42
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
+
50
49
error: use of a disallowed macro `macros::expr`
51
50
--> tests/ui-toml/disallowed_macros/disallowed_macros.rs:21:13
52
51
|
You can’t perform that action at this time.
0 commit comments