about summary refs log tree commit diff
path: root/src/tools/clippy/tests/ui/unnecessary_self_imports.rs
blob: d09c5fcb8caa6f47e76f3192cbbb6da2f3f89104 (plain)
1
2
3
4
5
6
7
8
9
10
11
#![warn(clippy::unnecessary_self_imports)]
#![allow(unused_imports, dead_code)]

use std::collections::hash_map::{self, *};
use std::fs::{self as alias};
//~^ unnecessary_self_imports
use std::io::{self, Read};
use std::rc::{self};
//~^ unnecessary_self_imports

fn main() {}