Commit b59322e
committed
Suppress diverging_sub_expression clippy lint in generated code
error: sub-expression diverges
--> tests/test.rs:233:13
|
233 | unimplemented!()
| ^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#diverging_sub_expression
= note: `-D clippy::diverging-sub-expression` implied by `-D clippy::all`
= note: this error originates in the macro `unimplemented` (in Nightly builds, run with -Z macro-backtrace for more info)
error: sub-expression diverges
--> tests/test.rs:1257:13
|
1257 | unimplemented!()
| ^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#diverging_sub_expression
= note: this error originates in the macro `unimplemented` (in Nightly builds, run with -Z macro-backtrace for more info)
error: sub-expression diverges
--> tests/test.rs:1277:13
|
1277 | return &Thing;
| ^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#diverging_sub_expression1 parent fbd310e commit b59322e
1 file changed
+1
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
126 | 126 | | |
127 | 127 | | |
128 | 128 | | |
| 129 | + | |
129 | 130 | | |
130 | 131 | | |
131 | 132 | | |
| |||
0 commit comments