rust/tests/ui/parser/use-colon-as-mod-sep.rs
2023-01-11 09:32:08 +00:00

12 lines
284 B
Rust

// 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() { }