You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
error: Called a method marked with `#[clippy::dangerous]` without blessing the calling module with `#![clippy::accept_danger]`.
1
+
error: Called a method marked with `#[clippy::dangerous(...)]` without blessing the calling module with `#![clippy::accept_danger(may_deadlock)]`.
2
2
--> $DIR/danger_not_accepted.rs:5:5
3
3
|
4
4
LL | waz::woo();
5
5
| ^^^^^^^^
6
6
|
7
-
= help: This method poses the following unaccepted dangers: ["may_deadlock"]
7
+
note: Danger `may_deadlock` declared here.
8
+
--> $DIR/danger_not_accepted.rs:36:21
9
+
|
10
+
LL | #[clippy::dangerous(may_deadlock)]
11
+
| ^^^^^^^^^^^^
8
12
= note: `-D clippy::danger-not-accepted` implied by `-D warnings`
9
13
= help: to override `-D warnings` add `#[allow(clippy::danger_not_accepted)]`
10
14
11
-
error: Called a method marked with `#[clippy::dangerous]` without blessing the calling module with `#![clippy::accept_danger]`.
15
+
error: Called a method marked with `#[clippy::dangerous(...)]` without blessing the calling module with `#![clippy::accept_danger(may_delete_system, may_deadlock)]`.
12
16
--> $DIR/danger_not_accepted.rs:10:5
13
17
|
14
18
LL | Maz.faz();
15
19
| ^^^^^^^^^
16
20
|
17
-
= help: This method poses the following unaccepted dangers: ["may_delete_system", "may_deadlock"]
21
+
note: Danger `may_delete_system` declared here.
22
+
--> $DIR/danger_not_accepted.rs:44:29
23
+
|
24
+
LL | #[clippy::dangerous(may_delete_system)]
25
+
| ^^^^^^^^^^^^^^^^^
26
+
note: Danger `may_deadlock` declared here.
27
+
--> $DIR/danger_not_accepted.rs:36:21
28
+
|
29
+
LL | #[clippy::dangerous(may_deadlock)]
30
+
| ^^^^^^^^^^^^
18
31
19
-
error: Called a method marked with `#[clippy::dangerous]` without blessing the calling module with `#![clippy::accept_danger]`.
32
+
error: Called a method marked with `#[clippy::dangerous(...)]` without blessing the calling module with `#![clippy::accept_danger(may_delete_system)]`.
20
33
--> $DIR/danger_not_accepted.rs:13:5
21
34
|
22
35
LL | Maz.faz();
23
36
| ^^^^^^^^^
24
37
|
25
-
= help: This method poses the following unaccepted dangers: ["may_delete_system"]
38
+
note: Danger `may_delete_system` declared here.
39
+
--> $DIR/danger_not_accepted.rs:44:29
40
+
|
41
+
LL | #[clippy::dangerous(may_delete_system)]
42
+
| ^^^^^^^^^^^^^^^^^
26
43
27
-
error: Called a method marked with `#[clippy::dangerous]` without blessing the calling module with `#![clippy::accept_danger]`.
44
+
error: Called a method marked with `#[clippy::dangerous(...)]` without blessing the calling module with `#![clippy::accept_danger(may_delete_system)]`.
28
45
--> $DIR/danger_not_accepted.rs:18:5
29
46
|
30
47
LL | Maz.faz2();
31
48
| ^^^^^^^^^^
32
49
|
33
-
= help: This method poses the following unaccepted dangers: ["may_delete_system"]
50
+
note: Danger `may_delete_system` declared here.
51
+
--> $DIR/danger_not_accepted.rs:54:25
52
+
|
53
+
LL | #[clippy::dangerous(may_delete_system)]
54
+
| ^^^^^^^^^^^^^^^^^
34
55
35
-
error: Called a method marked with `#[clippy::dangerous]` without blessing the calling module with `#![clippy::accept_danger]`.
56
+
error: Called a method marked with `#[clippy::dangerous(...)]` without blessing the calling module with `#![clippy::accept_danger(may_delete_system)]`.
36
57
--> $DIR/danger_not_accepted.rs:21:5
37
58
|
38
59
LL | Maz.faz2();
39
60
| ^^^^^^^^^^
40
61
|
41
-
= help: This method poses the following unaccepted dangers: ["may_delete_system"]
62
+
note: Danger `may_delete_system` declared here.
63
+
--> $DIR/danger_not_accepted.rs:54:25
64
+
|
65
+
LL | #[clippy::dangerous(may_delete_system)]
66
+
| ^^^^^^^^^^^^^^^^^
67
+
68
+
error: Called a method marked with `#[clippy::dangerous(...)]` without blessing the calling module with `#![clippy::accept_danger(may_deadlock)]`.
0 commit comments