Skip to content
This repository has been archived by the owner on Mar 25, 2024. It is now read-only.

Commit

Permalink
Ignore let_underscore_untyped pedantic clippy lint
Browse files Browse the repository at this point in the history
    warning: non-binding `let` without a type annotation
       --> src/lib.rs:227:13
        |
    227 |             let _ = Write::write_fmt(self, args);
        |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        |
        = help: consider adding a type annotation or removing the `let` keyword
        = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#let_underscore_untyped
    note: the lint level is defined here
       --> src/lib.rs:10:9
        |
    10  | #![warn(clippy::pedantic)]
        |         ^^^^^^^^^^^^^^^^
        = note: `#[warn(clippy::let_underscore_untyped)]` implied by `#[warn(clippy::pedantic)]`

    warning: non-binding `let` without a type annotation
      --> src/emitter.rs:92:9
       |
    92 |         let _ = PUT_BREAK(emitter);
       |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^
       |
       = help: consider adding a type annotation or removing the `let` keyword
       = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#let_underscore_untyped

    warning: non-binding `let` without a type annotation
       --> src/loader.rs:479:5
        |
    479 |     let _ = POP!(*ctx);
        |     ^^^^^^^^^^^^^^^^^^^
        |
        = help: consider adding a type annotation or removing the `let` keyword
        = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#let_underscore_untyped

    warning: non-binding `let` without a type annotation
       --> src/loader.rs:577:5
        |
    577 |     let _ = POP!(*ctx);
        |     ^^^^^^^^^^^^^^^^^^^
        |
        = help: consider adding a type annotation or removing the `let` keyword
        = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#let_underscore_untyped

    warning: non-binding `let` without a type annotation
       --> src/parser.rs:756:9
        |
    756 |         let _ = POP!((*parser).marks);
        |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        |
        = help: consider adding a type annotation or removing the `let` keyword
        = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#let_underscore_untyped

    warning: non-binding `let` without a type annotation
       --> src/parser.rs:854:9
        |
    854 |         let _ = POP!((*parser).marks);
        |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        |
        = help: consider adding a type annotation or removing the `let` keyword
        = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#let_underscore_untyped

    warning: non-binding `let` without a type annotation
       --> src/parser.rs:967:5
        |
    967 |     let _ = POP!((*parser).marks);
        |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        |
        = help: consider adding a type annotation or removing the `let` keyword
        = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#let_underscore_untyped

    warning: non-binding `let` without a type annotation
        --> src/parser.rs:1109:5
         |
    1109 |     let _ = POP!((*parser).marks);
         |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
         |
         = help: consider adding a type annotation or removing the `let` keyword
         = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#let_underscore_untyped

    warning: non-binding `let` without a type annotation
       --> src/scanner.rs:425:9
        |
    425 |         let _ = POP!((*parser).simple_keys);
        |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        |
        = help: consider adding a type annotation or removing the `let` keyword
        = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#let_underscore_untyped

    warning: non-binding `let` without a type annotation
      --> src/bin/run-parser-test-suite.rs:71:17
       |
    71 | /                 let _ = write!(
    72 | |                     error,
    73 | |                     "\nLine: {} Column: {}",
    74 | |                     ((*parser).problem_mark.line).wrapping_add(1_u64),
    75 | |                     ((*parser).problem_mark.column).wrapping_add(1_u64),
    76 | |                 );
       | |__________________^
       |
       = help: consider adding a type annotation or removing the `let` keyword
       = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#let_underscore_untyped
    note: the lint level is defined here
      --> src/bin/run-parser-test-suite.rs:1:9
       |
    1  | #![warn(clippy::pedantic)]
       |         ^^^^^^^^^^^^^^^^
       = note: `#[warn(clippy::let_underscore_untyped)]` implied by `#[warn(clippy::pedantic)]`

    warning: non-binding `let` without a type annotation
      --> src/bin/run-parser-test-suite.rs:84:13
       |
    84 |             let _ = writeln!(stdout, "???");
       |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
       |
       = help: consider adding a type annotation or removing the `let` keyword
       = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#let_underscore_untyped

    warning: non-binding `let` without a type annotation
      --> src/bin/run-parser-test-suite.rs:86:13
       |
    86 |             let _ = writeln!(stdout, "+STR");
       |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
       |
       = help: consider adding a type annotation or removing the `let` keyword
       = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#let_underscore_untyped

    warning: non-binding `let` without a type annotation
      --> src/bin/run-parser-test-suite.rs:88:13
       |
    88 |             let _ = writeln!(stdout, "-STR");
       |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
       |
       = help: consider adding a type annotation or removing the `let` keyword
       = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#let_underscore_untyped

    warning: non-binding `let` without a type annotation
      --> src/bin/run-parser-test-suite.rs:90:13
       |
    90 |             let _ = write!(stdout, "+DOC");
       |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
       |
       = help: consider adding a type annotation or removing the `let` keyword
       = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#let_underscore_untyped

    warning: non-binding `let` without a type annotation
      --> src/bin/run-parser-test-suite.rs:92:17
       |
    92 |                 let _ = write!(stdout, " ---");
       |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
       |
       = help: consider adding a type annotation or removing the `let` keyword
       = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#let_underscore_untyped

    warning: non-binding `let` without a type annotation
      --> src/bin/run-parser-test-suite.rs:94:13
       |
    94 |             let _ = writeln!(stdout);
       |             ^^^^^^^^^^^^^^^^^^^^^^^^^
       |
       = help: consider adding a type annotation or removing the `let` keyword
       = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#let_underscore_untyped

    warning: non-binding `let` without a type annotation
      --> src/bin/run-parser-test-suite.rs:96:13
       |
    96 |             let _ = write!(stdout, "-DOC");
       |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
       |
       = help: consider adding a type annotation or removing the `let` keyword
       = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#let_underscore_untyped

    warning: non-binding `let` without a type annotation
      --> src/bin/run-parser-test-suite.rs:98:17
       |
    98 |                 let _ = write!(stdout, " ...");
       |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
       |
       = help: consider adding a type annotation or removing the `let` keyword
       = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#let_underscore_untyped

    warning: non-binding `let` without a type annotation
       --> src/bin/run-parser-test-suite.rs:100:13
        |
    100 |             let _ = writeln!(stdout);
        |             ^^^^^^^^^^^^^^^^^^^^^^^^^
        |
        = help: consider adding a type annotation or removing the `let` keyword
        = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#let_underscore_untyped

    warning: non-binding `let` without a type annotation
       --> src/bin/run-parser-test-suite.rs:102:13
        |
    102 |             let _ = write!(stdout, "+MAP");
        |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        |
        = help: consider adding a type annotation or removing the `let` keyword
        = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#let_underscore_untyped

    warning: non-binding `let` without a type annotation
       --> src/bin/run-parser-test-suite.rs:104:17
        |
    104 | /                 let _ = write!(
    105 | |                     stdout,
    106 | |                     " &{}",
    107 | |                     CStr::from_ptr((*event).data.mapping_start.anchor as *const i8),
    108 | |                 );
        | |__________________^
        |
        = help: consider adding a type annotation or removing the `let` keyword
        = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#let_underscore_untyped

    warning: non-binding `let` without a type annotation
       --> src/bin/run-parser-test-suite.rs:111:17
        |
    111 | /                 let _ = write!(
    112 | |                     stdout,
    113 | |                     " <{}>",
    114 | |                     CStr::from_ptr((*event).data.mapping_start.tag as *const i8),
    115 | |                 );
        | |__________________^
        |
        = help: consider adding a type annotation or removing the `let` keyword
        = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#let_underscore_untyped

    warning: non-binding `let` without a type annotation
       --> src/bin/run-parser-test-suite.rs:117:13
        |
    117 |             let _ = writeln!(stdout);
        |             ^^^^^^^^^^^^^^^^^^^^^^^^^
        |
        = help: consider adding a type annotation or removing the `let` keyword
        = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#let_underscore_untyped

    warning: non-binding `let` without a type annotation
       --> src/bin/run-parser-test-suite.rs:119:13
        |
    119 |             let _ = writeln!(stdout, "-MAP");
        |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        |
        = help: consider adding a type annotation or removing the `let` keyword
        = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#let_underscore_untyped

    warning: non-binding `let` without a type annotation
       --> src/bin/run-parser-test-suite.rs:121:13
        |
    121 |             let _ = write!(stdout, "+SEQ");
        |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        |
        = help: consider adding a type annotation or removing the `let` keyword
        = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#let_underscore_untyped

    warning: non-binding `let` without a type annotation
       --> src/bin/run-parser-test-suite.rs:123:17
        |
    123 | /                 let _ = write!(
    124 | |                     stdout,
    125 | |                     " &{}",
    126 | |                     CStr::from_ptr((*event).data.sequence_start.anchor as *const i8),
    127 | |                 );
        | |__________________^
        |
        = help: consider adding a type annotation or removing the `let` keyword
        = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#let_underscore_untyped

    warning: non-binding `let` without a type annotation
       --> src/bin/run-parser-test-suite.rs:130:17
        |
    130 | /                 let _ = write!(
    131 | |                     stdout,
    132 | |                     " <{}>",
    133 | |                     CStr::from_ptr((*event).data.sequence_start.tag as *const i8),
    134 | |                 );
        | |__________________^
        |
        = help: consider adding a type annotation or removing the `let` keyword
        = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#let_underscore_untyped

    warning: non-binding `let` without a type annotation
       --> src/bin/run-parser-test-suite.rs:136:13
        |
    136 |             let _ = writeln!(stdout);
        |             ^^^^^^^^^^^^^^^^^^^^^^^^^
        |
        = help: consider adding a type annotation or removing the `let` keyword
        = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#let_underscore_untyped

    warning: non-binding `let` without a type annotation
       --> src/bin/run-parser-test-suite.rs:138:13
        |
    138 |             let _ = writeln!(stdout, "-SEQ");
        |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        |
        = help: consider adding a type annotation or removing the `let` keyword
        = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#let_underscore_untyped

    warning: non-binding `let` without a type annotation
       --> src/bin/run-parser-test-suite.rs:140:13
        |
    140 |             let _ = write!(stdout, "=VAL");
        |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        |
        = help: consider adding a type annotation or removing the `let` keyword
        = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#let_underscore_untyped

    warning: non-binding `let` without a type annotation
       --> src/bin/run-parser-test-suite.rs:142:17
        |
    142 | /                 let _ = write!(
    143 | |                     stdout,
    144 | |                     " &{}",
    145 | |                     CStr::from_ptr((*event).data.scalar.anchor as *const i8),
    146 | |                 );
        | |__________________^
        |
        = help: consider adding a type annotation or removing the `let` keyword
        = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#let_underscore_untyped

    warning: non-binding `let` without a type annotation
       --> src/bin/run-parser-test-suite.rs:149:17
        |
    149 | /                 let _ = write!(
    150 | |                     stdout,
    151 | |                     " <{}>",
    152 | |                     CStr::from_ptr((*event).data.scalar.tag as *const i8),
    153 | |                 );
        | |__________________^
        |
        = help: consider adding a type annotation or removing the `let` keyword
        = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#let_underscore_untyped

    warning: non-binding `let` without a type annotation
       --> src/bin/run-parser-test-suite.rs:155:13
        |
    155 | /             let _ = stdout.write_all(match (*event).data.scalar.style {
    156 | |                 YAML_PLAIN_SCALAR_STYLE => b" :",
    157 | |                 YAML_SINGLE_QUOTED_SCALAR_STYLE => b" '",
    158 | |                 YAML_DOUBLE_QUOTED_SCALAR_STYLE => b" \"",
    ...   |
    161 | |                 _ => process::abort(),
    162 | |             });
        | |_______________^
        |
        = help: consider adding a type annotation or removing the `let` keyword
        = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#let_underscore_untyped

    warning: non-binding `let` without a type annotation
       --> src/bin/run-parser-test-suite.rs:168:13
        |
    168 |             let _ = writeln!(stdout);
        |             ^^^^^^^^^^^^^^^^^^^^^^^^^
        |
        = help: consider adding a type annotation or removing the `let` keyword
        = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#let_underscore_untyped

    warning: non-binding `let` without a type annotation
       --> src/bin/run-parser-test-suite.rs:170:13
        |
    170 | /             let _ = writeln!(
    171 | |                 stdout,
    172 | |                 "=ALI *{}",
    173 | |                 CStr::from_ptr((*event).data.alias.anchor as *const i8),
    174 | |             );
        | |______________^
        |
        = help: consider adding a type annotation or removing the `let` keyword
        = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#let_underscore_untyped

    warning: non-binding `let` without a type annotation
       --> src/bin/run-parser-test-suite.rs:200:9
        |
    200 |         let _ = stdout.write_all(repr);
        |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        |
        = help: consider adding a type annotation or removing the `let` keyword
        = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#let_underscore_untyped

    warning: non-binding `let` without a type annotation
       --> src/bin/run-parser-test-suite.rs:208:9
        |
    208 |         let _ = writeln!(io::stderr(), "Usage: run-parser-test-suite <in.yaml>...");
        |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        |
        = help: consider adding a type annotation or removing the `let` keyword
        = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#let_underscore_untyped

    warning: non-binding `let` without a type annotation
       --> src/bin/run-parser-test-suite.rs:216:13
        |
    216 |             let _ = writeln!(io::stderr(), "{}", err);
        |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        |
        = help: consider adding a type annotation or removing the `let` keyword
        = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#let_underscore_untyped

    warning: non-binding `let` without a type annotation
      --> src/bin/run-parser-test-suite.rs:71:17
       |
    71 | /                 let _ = write!(
    72 | |                     error,
    73 | |                     "\nLine: {} Column: {}",
    74 | |                     ((*parser).problem_mark.line).wrapping_add(1_u64),
    75 | |                     ((*parser).problem_mark.column).wrapping_add(1_u64),
    76 | |                 );
       | |__________________^
       |
       = help: consider adding a type annotation or removing the `let` keyword
       = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#let_underscore_untyped
    note: the lint level is defined here
      --> src/bin/run-parser-test-suite.rs:1:9
       |
    1  | #![warn(clippy::pedantic)]
       |         ^^^^^^^^^^^^^^^^
       = note: `#[warn(clippy::let_underscore_untyped)]` implied by `#[warn(clippy::pedantic)]`

    warning: non-binding `let` without a type annotation
      --> src/bin/run-parser-test-suite.rs:84:13
       |
    84 |             let _ = writeln!(stdout, "???");
       |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
       |
       = help: consider adding a type annotation or removing the `let` keyword
       = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#let_underscore_untyped

    warning: non-binding `let` without a type annotation
      --> src/bin/run-parser-test-suite.rs:86:13
       |
    86 |             let _ = writeln!(stdout, "+STR");
       |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
       |
       = help: consider adding a type annotation or removing the `let` keyword
       = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#let_underscore_untyped

    warning: non-binding `let` without a type annotation
      --> src/bin/run-parser-test-suite.rs:88:13
       |
    88 |             let _ = writeln!(stdout, "-STR");
       |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
       |
       = help: consider adding a type annotation or removing the `let` keyword
       = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#let_underscore_untyped

    warning: non-binding `let` without a type annotation
      --> src/bin/run-parser-test-suite.rs:90:13
       |
    90 |             let _ = write!(stdout, "+DOC");
       |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
       |
       = help: consider adding a type annotation or removing the `let` keyword
       = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#let_underscore_untyped

    warning: non-binding `let` without a type annotation
      --> src/bin/run-parser-test-suite.rs:92:17
       |
    92 |                 let _ = write!(stdout, " ---");
       |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
       |
       = help: consider adding a type annotation or removing the `let` keyword
       = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#let_underscore_untyped

    warning: non-binding `let` without a type annotation
      --> src/bin/run-parser-test-suite.rs:94:13
       |
    94 |             let _ = writeln!(stdout);
       |             ^^^^^^^^^^^^^^^^^^^^^^^^^
       |
       = help: consider adding a type annotation or removing the `let` keyword
       = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#let_underscore_untyped

    warning: non-binding `let` without a type annotation
      --> src/bin/run-parser-test-suite.rs:96:13
       |
    96 |             let _ = write!(stdout, "-DOC");
       |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
       |
       = help: consider adding a type annotation or removing the `let` keyword
       = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#let_underscore_untyped

    warning: non-binding `let` without a type annotation
      --> src/bin/run-parser-test-suite.rs:98:17
       |
    98 |                 let _ = write!(stdout, " ...");
       |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
       |
       = help: consider adding a type annotation or removing the `let` keyword
       = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#let_underscore_untyped

    warning: non-binding `let` without a type annotation
       --> src/bin/run-parser-test-suite.rs:100:13
        |
    100 |             let _ = writeln!(stdout);
        |             ^^^^^^^^^^^^^^^^^^^^^^^^^
        |
        = help: consider adding a type annotation or removing the `let` keyword
        = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#let_underscore_untyped

    warning: non-binding `let` without a type annotation
       --> src/bin/run-parser-test-suite.rs:102:13
        |
    102 |             let _ = write!(stdout, "+MAP");
        |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        |
        = help: consider adding a type annotation or removing the `let` keyword
        = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#let_underscore_untyped

    warning: non-binding `let` without a type annotation
       --> src/bin/run-parser-test-suite.rs:104:17
        |
    104 | /                 let _ = write!(
    105 | |                     stdout,
    106 | |                     " &{}",
    107 | |                     CStr::from_ptr((*event).data.mapping_start.anchor as *const i8),
    108 | |                 );
        | |__________________^
        |
        = help: consider adding a type annotation or removing the `let` keyword
        = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#let_underscore_untyped

    warning: non-binding `let` without a type annotation
       --> src/bin/run-parser-test-suite.rs:111:17
        |
    111 | /                 let _ = write!(
    112 | |                     stdout,
    113 | |                     " <{}>",
    114 | |                     CStr::from_ptr((*event).data.mapping_start.tag as *const i8),
    115 | |                 );
        | |__________________^
        |
        = help: consider adding a type annotation or removing the `let` keyword
        = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#let_underscore_untyped

    warning: non-binding `let` without a type annotation
       --> src/bin/run-parser-test-suite.rs:117:13
        |
    117 |             let _ = writeln!(stdout);
        |             ^^^^^^^^^^^^^^^^^^^^^^^^^
        |
        = help: consider adding a type annotation or removing the `let` keyword
        = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#let_underscore_untyped

    warning: non-binding `let` without a type annotation
       --> src/bin/run-parser-test-suite.rs:119:13
        |
    119 |             let _ = writeln!(stdout, "-MAP");
        |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        |
        = help: consider adding a type annotation or removing the `let` keyword
        = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#let_underscore_untyped

    warning: non-binding `let` without a type annotation
       --> src/bin/run-parser-test-suite.rs:121:13
        |
    121 |             let _ = write!(stdout, "+SEQ");
        |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        |
        = help: consider adding a type annotation or removing the `let` keyword
        = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#let_underscore_untyped

    warning: non-binding `let` without a type annotation
       --> src/bin/run-parser-test-suite.rs:123:17
        |
    123 | /                 let _ = write!(
    124 | |                     stdout,
    125 | |                     " &{}",
    126 | |                     CStr::from_ptr((*event).data.sequence_start.anchor as *const i8),
    127 | |                 );
        | |__________________^
        |
        = help: consider adding a type annotation or removing the `let` keyword
        = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#let_underscore_untyped

    warning: non-binding `let` without a type annotation
       --> src/bin/run-parser-test-suite.rs:130:17
        |
    130 | /                 let _ = write!(
    131 | |                     stdout,
    132 | |                     " <{}>",
    133 | |                     CStr::from_ptr((*event).data.sequence_start.tag as *const i8),
    134 | |                 );
        | |__________________^
        |
        = help: consider adding a type annotation or removing the `let` keyword
        = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#let_underscore_untyped

    warning: non-binding `let` without a type annotation
       --> src/bin/run-parser-test-suite.rs:136:13
        |
    136 |             let _ = writeln!(stdout);
        |             ^^^^^^^^^^^^^^^^^^^^^^^^^
        |
        = help: consider adding a type annotation or removing the `let` keyword
        = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#let_underscore_untyped

    warning: non-binding `let` without a type annotation
       --> src/bin/run-parser-test-suite.rs:138:13
        |
    138 |             let _ = writeln!(stdout, "-SEQ");
        |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        |
        = help: consider adding a type annotation or removing the `let` keyword
        = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#let_underscore_untyped

    warning: non-binding `let` without a type annotation
       --> src/bin/run-parser-test-suite.rs:140:13
        |
    140 |             let _ = write!(stdout, "=VAL");
        |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        |
        = help: consider adding a type annotation or removing the `let` keyword
        = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#let_underscore_untyped

    warning: non-binding `let` without a type annotation
       --> src/bin/run-parser-test-suite.rs:142:17
        |
    142 | /                 let _ = write!(
    143 | |                     stdout,
    144 | |                     " &{}",
    145 | |                     CStr::from_ptr((*event).data.scalar.anchor as *const i8),
    146 | |                 );
        | |__________________^
        |
        = help: consider adding a type annotation or removing the `let` keyword
        = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#let_underscore_untyped

    warning: non-binding `let` without a type annotation
       --> src/bin/run-parser-test-suite.rs:149:17
        |
    149 | /                 let _ = write!(
    150 | |                     stdout,
    151 | |                     " <{}>",
    152 | |                     CStr::from_ptr((*event).data.scalar.tag as *const i8),
    153 | |                 );
        | |__________________^
        |
        = help: consider adding a type annotation or removing the `let` keyword
        = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#let_underscore_untyped

    warning: non-binding `let` without a type annotation
       --> src/bin/run-parser-test-suite.rs:155:13
        |
    155 | /             let _ = stdout.write_all(match (*event).data.scalar.style {
    156 | |                 YAML_PLAIN_SCALAR_STYLE => b" :",
    157 | |                 YAML_SINGLE_QUOTED_SCALAR_STYLE => b" '",
    158 | |                 YAML_DOUBLE_QUOTED_SCALAR_STYLE => b" \"",
    ...   |
    161 | |                 _ => process::abort(),
    162 | |             });
        | |_______________^
        |
        = help: consider adding a type annotation or removing the `let` keyword
        = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#let_underscore_untyped

    warning: non-binding `let` without a type annotation
       --> src/bin/run-parser-test-suite.rs:168:13
        |
    168 |             let _ = writeln!(stdout);
        |             ^^^^^^^^^^^^^^^^^^^^^^^^^
        |
        = help: consider adding a type annotation or removing the `let` keyword
        = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#let_underscore_untyped

    warning: non-binding `let` without a type annotation
       --> src/bin/run-parser-test-suite.rs:170:13
        |
    170 | /             let _ = writeln!(
    171 | |                 stdout,
    172 | |                 "=ALI *{}",
    173 | |                 CStr::from_ptr((*event).data.alias.anchor as *const i8),
    174 | |             );
        | |______________^
        |
        = help: consider adding a type annotation or removing the `let` keyword
        = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#let_underscore_untyped

    warning: non-binding `let` without a type annotation
       --> src/bin/run-parser-test-suite.rs:200:9
        |
    200 |         let _ = stdout.write_all(repr);
        |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        |
        = help: consider adding a type annotation or removing the `let` keyword
        = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#let_underscore_untyped

    warning: non-binding `let` without a type annotation
       --> src/bin/run-emitter-test-suite.rs:186:21
        |
    186 | /                     let _ = writeln!(
    187 | |                         io::stderr(),
    188 | |                         "Line too long: '{}'",
    189 | |                         String::from_utf8_lossy(&self.buf),
    190 | |                     );
        | |______________________^
        |
        = help: consider adding a type annotation or removing the `let` keyword
        = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#let_underscore_untyped
    note: the lint level is defined here
       --> src/bin/run-emitter-test-suite.rs:1:9
        |
    1   | #![warn(clippy::pedantic)]
        |         ^^^^^^^^^^^^^^^^
        = note: `#[warn(clippy::let_underscore_untyped)]` implied by `#[warn(clippy::pedantic)]`

    warning: non-binding `let` without a type annotation
       --> src/bin/run-parser-test-suite.rs:208:9
        |
    208 |         let _ = writeln!(io::stderr(), "Usage: run-parser-test-suite <in.yaml>...");
        |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        |
        = help: consider adding a type annotation or removing the `let` keyword
        = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#let_underscore_untyped

    warning: non-binding `let` without a type annotation
       --> src/bin/run-parser-test-suite.rs:216:13
        |
    216 |             let _ = writeln!(io::stderr(), "{}", err);
        |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        |
        = help: consider adding a type annotation or removing the `let` keyword
        = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#let_underscore_untyped

    warning: non-binding `let` without a type annotation
       --> src/bin/run-emitter-test-suite.rs:290:9
        |
    290 | /         let _ = writeln!(
    291 | |             io::stderr(),
    292 | |             "Usage: run-emitter-test-suite <test.event>...",
    293 | |         );
        | |__________^
        |
        = help: consider adding a type annotation or removing the `let` keyword
        = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#let_underscore_untyped

    warning: non-binding `let` without a type annotation
       --> src/bin/run-emitter-test-suite.rs:301:13
        |
    301 |             let _ = writeln!(io::stderr(), "{}", err);
        |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        |
        = help: consider adding a type annotation or removing the `let` keyword
        = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#let_underscore_untyped

    warning: non-binding `let` without a type annotation
       --> src/bin/run-emitter-test-suite.rs:186:21
        |
    186 | /                     let _ = writeln!(
    187 | |                         io::stderr(),
    188 | |                         "Line too long: '{}'",
    189 | |                         String::from_utf8_lossy(&self.buf),
    190 | |                     );
        | |______________________^
        |
        = help: consider adding a type annotation or removing the `let` keyword
        = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#let_underscore_untyped
    note: the lint level is defined here
       --> src/bin/run-emitter-test-suite.rs:1:9
        |
    1   | #![warn(clippy::pedantic)]
        |         ^^^^^^^^^^^^^^^^
        = note: `#[warn(clippy::let_underscore_untyped)]` implied by `#[warn(clippy::pedantic)]`

    warning: non-binding `let` without a type annotation
       --> src/bin/run-emitter-test-suite.rs:290:9
        |
    290 | /         let _ = writeln!(
    291 | |             io::stderr(),
    292 | |             "Usage: run-emitter-test-suite <test.event>...",
    293 | |         );
        | |__________^
        |
        = help: consider adding a type annotation or removing the `let` keyword
        = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#let_underscore_untyped

    warning: non-binding `let` without a type annotation
       --> src/bin/run-emitter-test-suite.rs:301:13
        |
    301 |             let _ = writeln!(io::stderr(), "{}", err);
        |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        |
        = help: consider adding a type annotation or removing the `let` keyword
        = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#let_underscore_untyped
  • Loading branch information
dtolnay committed Feb 27, 2023
1 parent 742e404 commit 2d2da60
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/bin/run-emitter-test-suite.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
clippy::cast_possible_wrap,
clippy::cast_sign_loss,
clippy::items_after_statements,
clippy::let_underscore_untyped,
clippy::missing_errors_doc,
clippy::missing_safety_doc,
clippy::ptr_as_ptr,
Expand Down
1 change: 1 addition & 0 deletions src/bin/run-parser-test-suite.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
clippy::cast_possible_wrap,
clippy::cast_sign_loss,
clippy::items_after_statements,
clippy::let_underscore_untyped,
clippy::missing_errors_doc,
clippy::missing_safety_doc,
clippy::too_many_lines
Expand Down
1 change: 1 addition & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
clippy::fn_params_excessive_bools,
clippy::if_not_else,
clippy::items_after_statements,
clippy::let_underscore_untyped,
clippy::manual_range_contains,
clippy::manual_swap,
clippy::missing_panics_doc,
Expand Down

0 comments on commit 2d2da60

Please sign in to comment.