Commit 6cb62b6
committed
pin_init: allow
Allows `nonstandard_style` lint on locally generated identifiers in
`pin_init!`.
Since the same warning will be reported by the compiler on the struct
definition, having the extra warning emitted at the macro call site is
unnecessary and confusing.
Suggested-by: Gary Guo <gary@garyguo.net>
Link: #125
Signed-off-by: Mirko Adzic <adzicmirko97@gmail.com>nonstandard_style for generated identifiers1 parent d4e1179 commit 6cb62b6
1 file changed
Lines changed: 10 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
164 | 164 | | |
165 | 165 | | |
166 | 166 | | |
167 | | - | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
168 | 171 | | |
169 | 172 | | |
170 | 173 | | |
| |||
302 | 305 | | |
303 | 306 | | |
304 | 307 | | |
305 | | - | |
| 308 | + | |
| 309 | + | |
| 310 | + | |
306 | 311 | | |
307 | 312 | | |
308 | 313 | | |
| |||
395 | 400 | | |
396 | 401 | | |
397 | 402 | | |
| 403 | + | |
| 404 | + | |
| 405 | + | |
398 | 406 | | |
399 | 407 | | |
400 | 408 | | |
| |||
0 commit comments