File: lint-unused-imports-self-single.stderr

package info (click to toggle)
rustc 1.88.0%2Bdfsg1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 934,128 kB
  • sloc: xml: 158,127; python: 36,062; javascript: 19,855; sh: 19,700; cpp: 18,947; ansic: 12,993; asm: 4,792; makefile: 690; lisp: 29; perl: 29; ruby: 19; sql: 11
file content (44 lines) | stat: -rw-r--r-- 1,316 bytes parent folder | download | duplicates (10)
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
35
36
37
38
39
40
41
42
43
44
error: unused import: `HashMap`
  --> $DIR/lint-unused-imports-self-single.rs:6:24
   |
LL | use std::collections::{HashMap, self as coll};
   |                        ^^^^^^^
   |
note: the lint level is defined here
  --> $DIR/lint-unused-imports-self-single.rs:3:9
   |
LL | #![deny(unused_imports)]
   |         ^^^^^^^^^^^^^^

error: unused import: `self as std_io`
  --> $DIR/lint-unused-imports-self-single.rs:9:15
   |
LL | use std::io::{self as std_io};
   |               ^^^^^^^^^^^^^^

error: unused import: `self as std_sync`
  --> $DIR/lint-unused-imports-self-single.rs:12:24
   |
LL | use std::sync::{Mutex, self as std_sync};
   |                        ^^^^^^^^^^^^^^^^

error: unused import: `self as std_sync_mpsc`
  --> $DIR/lint-unused-imports-self-single.rs:15:24
   |
LL | use std::sync::{mpsc::{self as std_sync_mpsc, Sender}};
   |                        ^^^^^^^^^^^^^^^^^^^^^

error: unused import: `Keys`
  --> $DIR/lint-unused-imports-self-single.rs:18:56
   |
LL | use std::collections::{hash_map::{self as std_coll_hm, Keys}};
   |                                                        ^^^^

error: unused import: `self`
  --> $DIR/lint-unused-imports-self-single.rs:21:19
   |
LL | use std::borrow::{self, Cow};
   |                   ^^^^

error: aborting due to 6 previous errors