1 error: expected item, found `import`
2 --> $DIR/use_instead_of_import.rs:3:1
5 | ^^^^^^ help: items are imported using the `use` keyword
7 error: expected item, found `require`
8 --> $DIR/use_instead_of_import.rs:9:1
10 LL | require std::time::Duration;
11 | ^^^^^^^ help: items are imported using the `use` keyword
13 error: expected item, found `include`
14 --> $DIR/use_instead_of_import.rs:12:1
16 LL | include std::time::Instant;
17 | ^^^^^^^ help: items are imported using the `use` keyword
19 error: expected item, found `using`
20 --> $DIR/use_instead_of_import.rs:15:5
22 LL | pub using std::io;
23 | ^^^^^ help: items are imported using the `use` keyword
25 error: aborting due to 4 previous errors