summaryrefslogtreecommitdiffstats
path: root/src/test/ui/did_you_mean/use_instead_of_import.stderr
blob: b22954af80f0600704d7a5a50b378ac50689f9ee (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
error: expected item, found `import`
  --> $DIR/use_instead_of_import.rs:3:1
   |
LL | import std::{
   | ^^^^^^ help: items are imported using the `use` keyword

error: expected item, found `using`
  --> $DIR/use_instead_of_import.rs:9:5
   |
LL | pub using std::io;
   |     ^^^^^ help: items are imported using the `use` keyword

error: aborting due to 2 previous errors