Skip to content

Commit 66ec197

Browse files
committed
Ignore let_underscore_untyped pedantic clippy lint
rust-lang/rust-clippy#10410 error: non-binding `let` without a type annotation --> build.rs:20:5 | 20 | let _ = compiler.minor; | ^^^^^^^^^^^^^^^^^^^^^^^ | = 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: `-D clippy::let-underscore-untyped` implied by `-D clippy::pedantic` error: non-binding `let` without a type annotation --> src/lookahead.rs:104:9 | 104 | let _ = token; | ^^^^^^^^^^^^^^ | = 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: `-D clippy::let-underscore-untyped` implied by `-D clippy::pedantic` error: non-binding `let` without a type annotation --> src/parse.rs:379:5 | 379 | let _ = proof; | ^^^^^^^^^^^^^^ | = 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 error: non-binding `let` without a type annotation --> src/parse.rs:580:9 | 580 | let _ = token; | ^^^^^^^^^^^^^^ | = 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 error: non-binding `let` without a type annotation --> src/parse.rs:628:9 | 628 | let _ = token; | ^^^^^^^^^^^^^^ | = 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 error: non-binding `let` without a type annotation --> src/parse.rs:647:9 | 647 | let _ = token; | ^^^^^^^^^^^^^^ | = 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 error: non-binding `let` without a type annotation --> src/parse.rs:751:9 | 751 | let _ = separator; | ^^^^^^^^^^^^^^^^^^ | = 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 error: non-binding `let` without a type annotation --> src/parse.rs:1229:9 | 1229 | let _ = scope; | ^^^^^^^^^^^^^^ | = 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
1 parent cc39d6b commit 66ec197

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

build.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#![allow(clippy::manual_let_else)]
1+
#![allow(clippy::let_underscore_untyped, clippy::manual_let_else)]
22

33
use std::env;
44
use std::process::Command;

src/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -267,6 +267,7 @@
267267
clippy::inherent_to_string,
268268
clippy::items_after_statements,
269269
clippy::large_enum_variant,
270+
clippy::let_underscore_untyped, // https://github.com/rust-lang/rust-clippy/issues/10410
270271
clippy::manual_assert,
271272
clippy::manual_let_else,
272273
clippy::match_like_matches_macro,

0 commit comments

Comments
 (0)