Skip to content

Adapt to front matter extra typing changes #764

Adapt to front matter extra typing changes

Adapt to front matter extra typing changes #764

GitHub Actions / clippy failed Feb 20, 2024 in 1s

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

See this annotation in the file changed.

@github-actions 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__