Adapt to front matter extra typing changes #764
reviewdog [clippy] report
reported by reviewdog 🐶
Findings (1)
src/experiments.rs|42 col 1| warning: this seems like a manual implementation of the non-exhaustive pattern
--> src/experiments.rs:42:1
|
42 | enum SubCommand {
| ^--------------
| |
| help: add the attribute: #[non_exhaustive] enum SubCommand
| |
43 | | /// Append a message to the given notebook
44 | | Message(MessageArgs),
45 | |
... |
56 | | Panic,
57 | | }
| |^
|
help: remove this variant
--> src/experiments.rs:56:5
|
56 | Panic,
| ^^^^^
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_non_exhaustive
= note: #[warn(clippy::manual_non_exhaustive)]
on by default
Filtered Findings (0)
Annotations
Check warning on line 42 in src/experiments.rs
github-actions / clippy
[clippy] src/experiments.rs#L42
warning: this seems like a manual implementation of the non-exhaustive pattern
--> src/experiments.rs:42:1
|
42 | enum SubCommand {
| ^--------------
| |
| _help: add the attribute: `#[non_exhaustive] enum SubCommand`
| |
43 | | /// Append a message to the given notebook
44 | | Message(MessageArgs),
45 | |
... |
56 | | Panic,
57 | | }
| |_^
|
help: remove this variant
--> src/experiments.rs:56:5
|
56 | Panic,
| ^^^^^
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_non_exhaustive
= note: `#[warn(clippy::manual_non_exhaustive)]` on by default
Raw output
src/experiments.rs:42:1:w:warning: this seems like a manual implementation of the non-exhaustive pattern
--> src/experiments.rs:42:1
|
42 | enum SubCommand {
| ^--------------
| |
| _help: add the attribute: `#[non_exhaustive] enum SubCommand`
| |
43 | | /// Append a message to the given notebook
44 | | Message(MessageArgs),
45 | |
... |
56 | | Panic,
57 | | }
| |_^
|
help: remove this variant
--> src/experiments.rs:56:5
|
56 | Panic,
| ^^^^^
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_non_exhaustive
= note: `#[warn(clippy::manual_non_exhaustive)]` on by default
__END__