summaryrefslogtreecommitdiffstats
path: root/src/test/ui/span/multispan-import-lint.rs
blob: 3ce7f2ce35da8fb2dcaa1cda57fee37d7fdec75e (plain)
1
2
3
4
5
6
7
8
9
10
// check-pass

#![warn(unused)]

use std::cmp::{Eq, Ord, min, PartialEq, PartialOrd};
//~^ WARN unused imports

fn main() {
    let _ = min(1, 2);
}