2023-02-16 12:12:11 -06:00
|
|
|
error: collection is never read
|
|
|
|
--> $DIR/collection_is_never_read.rs:21:5
|
|
|
|
|
|
|
|
|
LL | let mut x = HashMap::new(); // WARNING
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
|
= note: `-D clippy::collection-is-never-read` implied by `-D warnings`
|
|
|
|
|
|
|
|
error: collection is never read
|
|
|
|
--> $DIR/collection_is_never_read.rs:60:5
|
|
|
|
|
|
|
|
|
LL | let mut x = vec![1, 2, 3]; // WARNING
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
error: collection is never read
|
|
|
|
--> $DIR/collection_is_never_read.rs:75:5
|
|
|
|
|
|
|
|
|
LL | let mut x = HashMap::new(); // WARNING
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
error: collection is never read
|
|
|
|
--> $DIR/collection_is_never_read.rs:80:5
|
|
|
|
|
|
|
|
|
LL | let mut x = HashMap::new(); // WARNING
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
error: collection is never read
|
2023-03-12 09:56:14 -05:00
|
|
|
--> $DIR/collection_is_never_read.rs:88:5
|
2023-02-16 12:12:11 -06:00
|
|
|
|
|
|
|
|
LL | let mut x = vec![1, 2, 3]; // WARNING
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
error: collection is never read
|
2023-03-12 09:56:14 -05:00
|
|
|
--> $DIR/collection_is_never_read.rs:94:5
|
2023-02-16 12:12:11 -06:00
|
|
|
|
|
|
|
|
LL | let mut x = vec![1, 2, 3]; // WARNING
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
2023-02-28 16:01:48 -06:00
|
|
|
error: collection is never read
|
2023-03-12 09:59:10 -05:00
|
|
|
--> $DIR/collection_is_never_read.rs:100:5
|
2023-03-12 09:56:14 -05:00
|
|
|
|
|
|
|
|
LL | let mut x = vec![1, 2, 3]; // WARNING
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
error: collection is never read
|
2023-03-12 09:59:10 -05:00
|
|
|
--> $DIR/collection_is_never_read.rs:107:5
|
|
|
|
|
|
|
|
|
LL | let mut x = vec![1, 2, 3]; // WARNING
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
error: collection is never read
|
|
|
|
--> $DIR/collection_is_never_read.rs:124:5
|
2023-02-28 16:01:48 -06:00
|
|
|
|
|
|
|
|
LL | let mut x = HashSet::new(); // WARNING
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
2023-02-28 16:08:15 -06:00
|
|
|
error: collection is never read
|
2023-03-12 09:59:10 -05:00
|
|
|
--> $DIR/collection_is_never_read.rs:138:5
|
2023-02-28 16:08:15 -06:00
|
|
|
|
|
|
|
|
LL | let x = vec![1, 2, 3]; // WARNING
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
2023-04-09 06:25:50 -05:00
|
|
|
error: collection is never read
|
2023-04-10 17:58:47 -05:00
|
|
|
--> $DIR/collection_is_never_read.rs:173:5
|
2023-04-09 06:25:50 -05:00
|
|
|
|
|
2023-04-10 17:58:47 -05:00
|
|
|
LL | let mut x = std::collections::BTreeMap::new(); // WARNING
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
error: collection is never read
|
|
|
|
--> $DIR/collection_is_never_read.rs:176:5
|
|
|
|
|
|
|
|
|
LL | let mut x = std::collections::BTreeSet::new(); // WARNING
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
error: collection is never read
|
|
|
|
--> $DIR/collection_is_never_read.rs:179:5
|
|
|
|
|
|
|
|
|
LL | let mut x = std::collections::BinaryHeap::new(); // WARNING
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
error: collection is never read
|
|
|
|
--> $DIR/collection_is_never_read.rs:182:5
|
|
|
|
|
|
|
|
|
LL | let mut x = std::collections::HashMap::new(); // WARNING
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
error: collection is never read
|
|
|
|
--> $DIR/collection_is_never_read.rs:185:5
|
|
|
|
|
|
|
|
|
LL | let mut x = std::collections::HashSet::new(); // WARNING
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
error: collection is never read
|
|
|
|
--> $DIR/collection_is_never_read.rs:188:5
|
|
|
|
|
|
|
|
|
LL | let mut x = std::collections::LinkedList::new(); // WARNING
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
error: collection is never read
|
|
|
|
--> $DIR/collection_is_never_read.rs:191:5
|
|
|
|
|
|
|
|
|
LL | let mut x = Some(true); // WARNING
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
error: collection is never read
|
|
|
|
--> $DIR/collection_is_never_read.rs:194:5
|
|
|
|
|
|
|
|
|
LL | let mut x = String::from("hello"); // WARNING
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
error: collection is never read
|
|
|
|
--> $DIR/collection_is_never_read.rs:197:5
|
|
|
|
|
|
|
|
|
LL | let mut x = Vec::new(); // WARNING
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^
|
2023-04-09 06:25:50 -05:00
|
|
|
|
|
|
|
error: collection is never read
|
2023-04-10 17:58:47 -05:00
|
|
|
--> $DIR/collection_is_never_read.rs:201:5
|
2023-04-09 06:25:50 -05:00
|
|
|
|
|
2023-04-10 17:58:47 -05:00
|
|
|
LL | let mut x = std::collections::VecDeque::new(); // WARNING
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
2023-04-09 06:25:50 -05:00
|
|
|
|
2023-04-10 17:58:47 -05:00
|
|
|
error: aborting due to 20 previous errors
|
2023-02-16 12:12:11 -06:00
|
|
|
|