Skip to content

Flatten typesets

Flatten typesets #1309

GitHub Actions / clippy failed Sep 13, 2024 in 0s

clippy

1 error

Details

Results

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

Versions

  • rustc 1.81.0 (eeb90cda1 2024-09-04)
  • cargo 1.81.0 (2dbb1af80 2024-08-20)
  • clippy 0.1.81 (eeb90cd 2024-09-04)

Annotations

Check failure on line 337 in fir/src/lib.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

using `map` over `inspect`

error: using `map` over `inspect`
   --> fir/src/lib.rs:337:13
    |
337 |         fir.map(|fir| {
    |             ^^^
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_inspect
    = note: `-D clippy::manual-inspect` implied by `-D warnings`
    = help: to override `-D warnings` add `#[allow(clippy::manual_inspect)]`
help: try
    |
337 ~         fir.inspect(|fir| {
338 ~             Self::post_condition(fir);
339 ~             fir.check();
    |