summaryrefslogtreecommitdiffstats
path: root/tests/ui/parser/use-colon-as-mod-sep.stderr
blob: bfc5374ef9d2d1e4d39e24ecc26194891d4abfb3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
error: expected `::`, found `:`
  --> $DIR/use-colon-as-mod-sep.rs:3:17
   |
LL | use std::process:Command;
   |                 ^ help: use double colon
   |
   = note: import paths are delimited using `::`

error: expected `::`, found `:`
  --> $DIR/use-colon-as-mod-sep.rs:5:8
   |
LL | use std:fs::File;
   |        ^ help: use double colon
   |
   = note: import paths are delimited using `::`

error: expected `::`, found `:`
  --> $DIR/use-colon-as-mod-sep.rs:7:8
   |
LL | use std:collections:HashMap;
   |        ^ help: use double colon
   |
   = note: import paths are delimited using `::`

error: expected `::`, found `:`
  --> $DIR/use-colon-as-mod-sep.rs:7:20
   |
LL | use std:collections:HashMap;
   |                    ^ help: use double colon
   |
   = note: import paths are delimited using `::`

error: aborting due to 4 previous errors