## REDUNDANT_IMPORTS

# Static REDUNDANT_IMPORTS

    pub static REDUNDANT_IMPORTS: &'static Lint

Expand description

The `redundant_imports` lint detects imports that are redundant due to being imported already; either through a previous import, or being present in the prelude.

#### §Example

ⓘ

    #![deny(redundant_imports)]
    use std::option::Option::None;
    fn foo() -> Option<i32> { None }

{{produces}}

#### §Explanation

Redundant imports are unnecessary and can be removed to simplify code. If you intended to re-export the item to make it available outside of the module, add a visibility modifier like `pub`.