error: non-binding `let` without a type annotation
--> generate/src/parse.rs:33:9
|
33 | let _ = writeln!(io::stderr(), "{}: {err}\n{suggestion}", ucd_dir.display());
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= 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
--> generate/src/parse.rs:42:13
|
42 | let _ = writeln!(io::stderr(), "{filename} line {i} is unexpected:\n{line}");
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= 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
--> generate/src/main.rs:151:9
|
151 | let _ = writeln!(io::stderr(), "{}: {err}", path.display());
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= 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
--> tests/static_size.rs:28:5
|
28 | let _ = tables::BY_NAME;
| ^^^^^^^^^^^^^^^^^^^^^^^^
|
= 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
--> tests/static_size.rs:75:5
|
75 | let _ = trie::BY_NAME;
| ^^^^^^^^^^^^^^^^^^^^^^
|
= 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
--> generate/src/parse.rs:33:9
|
33 | let _ = writeln!(io::stderr(), "{}: {err}\n{suggestion}", ucd_dir.display());
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= 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
--> generate/src/parse.rs:42:13
|
42 | let _ = writeln!(io::stderr(), "{filename} line {i} is unexpected:\n{line}");
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= 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
--> generate/src/main.rs:151:9
|
151 | let _ = writeln!(io::stderr(), "{}: {err}", path.display());
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= 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
--> tests/static_size.rs:28:5
|
28 | let _ = tables::BY_NAME;
| ^^^^^^^^^^^^^^^^^^^^^^^^
|
= 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
--> tests/static_size.rs:75:5
|
75 | let _ = trie::BY_NAME;
| ^^^^^^^^^^^^^^^^^^^^^^
|
= 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: lint `clippy::let_underscore_drop` has been renamed to `let_underscore_drop`
--> generate/src/main.rs:14:5
|
14 | clippy::let_underscore_drop,
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use the new name: `let_underscore_drop`
|
= note: `#[warn(renamed_and_removed_lints)]` on by default
This was changed from 2021 edition to 2018 edition in f071db5000,
which no longer has TryFrom in prelude.
error[E0599]: no function or associated item named `try_from` found for type `u8` in the current scope
--> generate/src/main.rs:56:27
|
56 | let new = u8::try_from(chunkmap.len()).unwrap();
| ^^^^^^^^ function or associated item not found in `u8`
|
= help: items from traits can only be used if the trait is in scope
help: the following trait is implemented but not in scope; perhaps add a `use` for it:
|
11 | use std::convert::TryFrom;
|
error[E0599]: no function or associated item named `try_from` found for type `u8` in the current scope
--> generate/src/main.rs:119:17
|
119 | u8::try_from(halfdense.len() / (CHUNK / 2)).unwrap(),
| ^^^^^^^^ function or associated item not found in `u8`
|
= help: items from traits can only be used if the trait is in scope
help: the following trait is implemented but not in scope; perhaps add a `use` for it:
|
11 | use std::convert::TryFrom;
|
error[E0599]: no function or associated item named `try_from` found for type `u8` in the current scope
--> generate/src/main.rs:136:21
|
136 | u8::try_from(halfdense.len() / (CHUNK / 2) - 1).unwrap(),
| ^^^^^^^^ function or associated item not found in `u8`
|
= help: items from traits can only be used if the trait is in scope
help: the following trait is implemented but not in scope; perhaps add a `use` for it:
|
11 | use std::convert::TryFrom;
|