Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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_expression
- Loading branch information