Rust errors / Names, paths and imports
Rust compiler error · checked with rustc 1.99.0
Rust error E0710: unknown tool name `clipp` found in scoped lint: `clipp::filter_map`
What it meansAn unknown tool name was found in a scoped lint.
What rustc prints
error[E0710]: unknown tool name `clipp` found in scoped lint: `clipp::filter_map`
--> main.rs:1:9
|
1 | #[allow(clipp::filter_map)] // error!
| ^^^^^Real output of rustc 1.99.0 compiling the official example below (2021 edition). Your names and line numbers will differ; the first line is the part to match.
The compiler team's explanation
An unknown tool name was found in a scoped lint.
Erroneous code examples:
#[allow(clipp::filter_map)] // error!
fn main() {
// business logic
}
#[warn(clipp::filter_map)] // error!
fn main() {
// business logic
}
Please verify you didn't misspell the tool's name or that you didn't forget to import it in you project:
#[allow(clippy::filter_map)] // ok!
fn main() {
// business logic
}
#[warn(clippy::filter_map)] // ok!
fn main() {
// business logic
}From rustc --explain E0710 (1.99.0), part of the Rust project, MIT or Apache-2.0. Official page.
Related errors
- E0425cannot find value in this scope
- E0603is private
- E0432unresolved import
- E0005refutable pattern in local binding
- E0639This error indicates that the struct, enum or enum variant cannot be instantiated from outside of the defining crate as it has been marked as `non_exhaustive` and as such more fields/variants may be added in future that could cause adverse side effects for this code
- E0648`export_name` may not contain null characters
- E0711feature `foo` is declared stable since 1.29.0, but was previously declared stable since 1.0.0
- E0725A feature attribute named a feature that was disallowed in the compiler command line flags
Up next
Often hit nextE0425: cannot find value in this scopeA related error from the same family.Read it next →Did this answer your question?