Skip to content

Fix selection with trailing comma + docs #156

Fix selection with trailing comma + docs

Fix selection with trailing comma + docs #156

GitHub Actions / clippy succeeded Aug 12, 2023 in 0s

clippy

2 warnings

Details

Results

Message level Amount
Internal compiler error 0
Error 0
Warning 2
Note 0
Help 0

Versions

  • rustc 1.71.1 (eb26296b5 2023-08-03)
  • cargo 1.71.1 (7f1d04c00 2023-07-29)
  • clippy 0.1.71 (eb26296 2023-08-03)

Annotations

Check warning on line 199 in src/lang/ts/mod.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

`panic` should not be present in production code

warning: `panic` should not be present in production code
   --> src/lang/ts/mod.rs:199:44
    |
199 |                         .unwrap_or_else(|| panic!("Type {} has no value!", r.name));
    |                                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#panic

Check warning on line 197 in src/lang/ts/mod.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

`panic` should not be present in production code

warning: `panic` should not be present in production code
   --> src/lang/ts/mod.rs:197:44
    |
197 |                         .unwrap_or_else(|| panic!("Type {} not found!", r.name))
    |                                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#panic
note: the lint level is defined here
   --> src/lib.rs:58:43
    |
58  | #![warn(clippy::all, clippy::unwrap_used, clippy::panic, missing_docs)]
    |                                           ^^^^^^^^^^^^^