summaryrefslogtreecommitdiffstats
path: root/tests/ui/parser/use-colon-as-mod-sep.rs
blob: e1e8756b03c2637b7cb2d82d172c7bc3d0424fe6 (plain)
1
2
3
4
5
6
7
8
9
10
11
// Recover from using a colon as a path separator.

use std::process:Command;
//~^ ERROR expected `::`, found `:`
use std:fs::File;
//~^ ERROR expected `::`, found `:`
use std:collections:HashMap;
//~^ ERROR expected `::`, found `:`
//~| ERROR expected `::`, found `:`

fn main() { }