|
1 | 1 | error: do not call a function with mutable arguments inside of `debug_assert!` |
2 | | - --> $DIR/debug_assert_with_mut_call.rs:40:19 |
| 2 | + --> $DIR/debug_assert_with_mut_call.rs:42:19 |
3 | 3 | | |
4 | 4 | LL | debug_assert!(bool_mut(&mut 3)); |
5 | 5 | | ^^^^^^^^^^^^^^^^ |
6 | 6 | | |
7 | | - = note: `#[deny(clippy::debug_assert_with_mut_call)]` on by default |
| 7 | + = note: `-D clippy::debug-assert-with-mut-call` implied by `-D warnings` |
8 | 8 |
|
9 | 9 | error: do not call a function with mutable arguments inside of `debug_assert!` |
10 | | - --> $DIR/debug_assert_with_mut_call.rs:41:20 |
| 10 | + --> $DIR/debug_assert_with_mut_call.rs:43:20 |
11 | 11 | | |
12 | 12 | LL | debug_assert!(!bool_mut(&mut 3)); |
13 | 13 | | ^^^^^^^^^^^^^^^^ |
14 | 14 |
|
15 | 15 | error: do not call a function with mutable arguments inside of `debug_assert_eq!` |
16 | | - --> $DIR/debug_assert_with_mut_call.rs:43:25 |
| 16 | + --> $DIR/debug_assert_with_mut_call.rs:45:25 |
17 | 17 | | |
18 | 18 | LL | debug_assert_eq!(0, u32_mut(&mut 3)); |
19 | 19 | | ^^^^^^^^^^^^^^^ |
20 | 20 |
|
21 | 21 | error: do not call a function with mutable arguments inside of `debug_assert_eq!` |
22 | | - --> $DIR/debug_assert_with_mut_call.rs:44:22 |
| 22 | + --> $DIR/debug_assert_with_mut_call.rs:46:22 |
23 | 23 | | |
24 | 24 | LL | debug_assert_eq!(u32_mut(&mut 3), 0); |
25 | 25 | | ^^^^^^^^^^^^^^^ |
26 | 26 |
|
27 | 27 | error: do not call a function with mutable arguments inside of `debug_assert_ne!` |
28 | | - --> $DIR/debug_assert_with_mut_call.rs:46:25 |
| 28 | + --> $DIR/debug_assert_with_mut_call.rs:48:25 |
29 | 29 | | |
30 | 30 | LL | debug_assert_ne!(1, u32_mut(&mut 3)); |
31 | 31 | | ^^^^^^^^^^^^^^^ |
32 | 32 |
|
33 | 33 | error: do not call a function with mutable arguments inside of `debug_assert_ne!` |
34 | | - --> $DIR/debug_assert_with_mut_call.rs:47:22 |
| 34 | + --> $DIR/debug_assert_with_mut_call.rs:49:22 |
35 | 35 | | |
36 | 36 | LL | debug_assert_ne!(u32_mut(&mut 3), 1); |
37 | 37 | | ^^^^^^^^^^^^^^^ |
38 | 38 |
|
39 | 39 | error: do not call a function with mutable arguments inside of `debug_assert!` |
40 | | - --> $DIR/debug_assert_with_mut_call.rs:62:19 |
| 40 | + --> $DIR/debug_assert_with_mut_call.rs:64:19 |
41 | 41 | | |
42 | 42 | LL | debug_assert!(S.bool_self_mut()); |
43 | 43 | | ^^^^^^^^^^^^^^^^^ |
44 | 44 |
|
45 | 45 | error: do not call a function with mutable arguments inside of `debug_assert!` |
46 | | - --> $DIR/debug_assert_with_mut_call.rs:63:20 |
| 46 | + --> $DIR/debug_assert_with_mut_call.rs:65:20 |
47 | 47 | | |
48 | 48 | LL | debug_assert!(!S.bool_self_mut()); |
49 | 49 | | ^^^^^^^^^^^^^^^^^ |
50 | 50 |
|
51 | 51 | error: do not call a function with mutable arguments inside of `debug_assert!` |
52 | | - --> $DIR/debug_assert_with_mut_call.rs:64:19 |
| 52 | + --> $DIR/debug_assert_with_mut_call.rs:66:19 |
53 | 53 | | |
54 | 54 | LL | debug_assert!(S.bool_self_ref_arg_mut(&mut 3)); |
55 | 55 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
56 | 56 |
|
57 | 57 | error: do not call a function with mutable arguments inside of `debug_assert!` |
58 | | - --> $DIR/debug_assert_with_mut_call.rs:65:19 |
| 58 | + --> $DIR/debug_assert_with_mut_call.rs:67:19 |
59 | 59 | | |
60 | 60 | LL | debug_assert!(S.bool_self_mut_arg_ref(&3)); |
61 | 61 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
62 | 62 |
|
63 | 63 | error: do not call a function with mutable arguments inside of `debug_assert!` |
64 | | - --> $DIR/debug_assert_with_mut_call.rs:66:19 |
| 64 | + --> $DIR/debug_assert_with_mut_call.rs:68:19 |
65 | 65 | | |
66 | 66 | LL | debug_assert!(S.bool_self_mut_arg_mut(&mut 3)); |
67 | 67 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
68 | 68 |
|
69 | 69 | error: do not call a function with mutable arguments inside of `debug_assert_eq!` |
70 | | - --> $DIR/debug_assert_with_mut_call.rs:68:22 |
| 70 | + --> $DIR/debug_assert_with_mut_call.rs:70:22 |
71 | 71 | | |
72 | 72 | LL | debug_assert_eq!(S.u32_self_mut(), 0); |
73 | 73 | | ^^^^^^^^^^^^^^^^ |
74 | 74 |
|
75 | 75 | error: do not call a function with mutable arguments inside of `debug_assert_eq!` |
76 | | - --> $DIR/debug_assert_with_mut_call.rs:69:22 |
| 76 | + --> $DIR/debug_assert_with_mut_call.rs:71:22 |
77 | 77 | | |
78 | 78 | LL | debug_assert_eq!(S.u32_self_mut_arg_ref(&3), 0); |
79 | 79 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^ |
80 | 80 |
|
81 | 81 | error: do not call a function with mutable arguments inside of `debug_assert_eq!` |
82 | | - --> $DIR/debug_assert_with_mut_call.rs:70:22 |
| 82 | + --> $DIR/debug_assert_with_mut_call.rs:72:22 |
83 | 83 | | |
84 | 84 | LL | debug_assert_eq!(S.u32_self_ref_arg_mut(&mut 3), 0); |
85 | 85 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
86 | 86 |
|
87 | 87 | error: do not call a function with mutable arguments inside of `debug_assert_eq!` |
88 | | - --> $DIR/debug_assert_with_mut_call.rs:71:22 |
| 88 | + --> $DIR/debug_assert_with_mut_call.rs:73:22 |
89 | 89 | | |
90 | 90 | LL | debug_assert_eq!(S.u32_self_mut_arg_mut(&mut 3), 0); |
91 | 91 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
92 | 92 |
|
93 | 93 | error: do not call a function with mutable arguments inside of `debug_assert_ne!` |
94 | | - --> $DIR/debug_assert_with_mut_call.rs:73:22 |
| 94 | + --> $DIR/debug_assert_with_mut_call.rs:75:22 |
95 | 95 | | |
96 | 96 | LL | debug_assert_ne!(S.u32_self_mut(), 1); |
97 | 97 | | ^^^^^^^^^^^^^^^^ |
98 | 98 |
|
99 | 99 | error: do not call a function with mutable arguments inside of `debug_assert_ne!` |
100 | | - --> $DIR/debug_assert_with_mut_call.rs:74:22 |
| 100 | + --> $DIR/debug_assert_with_mut_call.rs:76:22 |
101 | 101 | | |
102 | 102 | LL | debug_assert_ne!(S.u32_self_mut_arg_ref(&3), 1); |
103 | 103 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^ |
104 | 104 |
|
105 | 105 | error: do not call a function with mutable arguments inside of `debug_assert_ne!` |
106 | | - --> $DIR/debug_assert_with_mut_call.rs:75:22 |
| 106 | + --> $DIR/debug_assert_with_mut_call.rs:77:22 |
107 | 107 | | |
108 | 108 | LL | debug_assert_ne!(S.u32_self_ref_arg_mut(&mut 3), 1); |
109 | 109 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
110 | 110 |
|
111 | 111 | error: do not call a function with mutable arguments inside of `debug_assert_ne!` |
112 | | - --> $DIR/debug_assert_with_mut_call.rs:76:22 |
| 112 | + --> $DIR/debug_assert_with_mut_call.rs:78:22 |
113 | 113 | | |
114 | 114 | LL | debug_assert_ne!(S.u32_self_mut_arg_mut(&mut 3), 1); |
115 | 115 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
116 | 116 |
|
117 | 117 | error: do not call a function with mutable arguments inside of `debug_assert_eq!` |
118 | | - --> $DIR/debug_assert_with_mut_call.rs:84:22 |
| 118 | + --> $DIR/debug_assert_with_mut_call.rs:86:22 |
119 | 119 | | |
120 | 120 | LL | debug_assert_eq!(v.pop(), Some(1)); |
121 | 121 | | ^^^^^^^ |
122 | 122 |
|
123 | 123 | error: do not call a function with mutable arguments inside of `debug_assert_ne!` |
124 | | - --> $DIR/debug_assert_with_mut_call.rs:85:31 |
| 124 | + --> $DIR/debug_assert_with_mut_call.rs:87:31 |
125 | 125 | | |
126 | 126 | LL | debug_assert_ne!(Some(3), v.pop()); |
127 | 127 | | ^^^^^^^ |
128 | 128 |
|
129 | 129 | error: do not call a function with mutable arguments inside of `debug_assert!` |
130 | | - --> $DIR/debug_assert_with_mut_call.rs:88:19 |
| 130 | + --> $DIR/debug_assert_with_mut_call.rs:90:19 |
131 | 131 | | |
132 | 132 | LL | debug_assert!(bool_mut(a)); |
133 | 133 | | ^^^^^^^^^^^ |
134 | 134 |
|
135 | 135 | error: do not call a function with mutable arguments inside of `debug_assert!` |
136 | | - --> $DIR/debug_assert_with_mut_call.rs:91:31 |
| 136 | + --> $DIR/debug_assert_with_mut_call.rs:93:31 |
137 | 137 | | |
138 | 138 | LL | debug_assert!(!(bool_ref(&u32_mut(&mut 3)))); |
139 | 139 | | ^^^^^^^^^^^^^^^ |
140 | 140 |
|
141 | 141 | error: do not call a function with mutable arguments inside of `debug_assert_eq!` |
142 | | - --> $DIR/debug_assert_with_mut_call.rs:94:22 |
| 142 | + --> $DIR/debug_assert_with_mut_call.rs:96:22 |
143 | 143 | | |
144 | 144 | LL | debug_assert_eq!(v.pop().unwrap(), 3); |
145 | 145 | | ^^^^^^^ |
146 | 146 |
|
147 | 147 | error: do not call a function with mutable arguments inside of `debug_assert!` |
148 | | - --> $DIR/debug_assert_with_mut_call.rs:98:19 |
| 148 | + --> $DIR/debug_assert_with_mut_call.rs:100:19 |
149 | 149 | | |
150 | 150 | LL | debug_assert!(bool_mut(&mut 3), "w/o format"); |
151 | 151 | | ^^^^^^^^^^^^^^^^ |
152 | 152 |
|
153 | 153 | error: do not call a function with mutable arguments inside of `debug_assert!` |
154 | | - --> $DIR/debug_assert_with_mut_call.rs:100:19 |
| 154 | + --> $DIR/debug_assert_with_mut_call.rs:102:19 |
155 | 155 | | |
156 | 156 | LL | debug_assert!(bool_mut(&mut 3), "{} format", "w/"); |
157 | 157 | | ^^^^^^^^^^^^^^^^ |
158 | 158 |
|
159 | 159 | error: do not call a function with mutable arguments inside of `debug_assert!` |
160 | | - --> $DIR/debug_assert_with_mut_call.rs:105:9 |
| 160 | + --> $DIR/debug_assert_with_mut_call.rs:107:9 |
161 | 161 | | |
162 | 162 | LL | bool_mut(&mut x); |
163 | 163 | | ^^^^^^^^^^^^^^^^ |
164 | 164 |
|
165 | 165 | error: do not call a function with mutable arguments inside of `debug_assert!` |
166 | | - --> $DIR/debug_assert_with_mut_call.rs:112:9 |
| 166 | + --> $DIR/debug_assert_with_mut_call.rs:114:9 |
167 | 167 | | |
168 | 168 | LL | bool_mut(&mut x); |
169 | 169 | | ^^^^^^^^^^^^^^^^ |
|
0 commit comments