Closed
Description
Currently failed due to rust-lang/rust#42648
error[E0463]: can't find crate for `collections`
--> clippy_lints/src/lib.rs:25:1
|
25 | extern crate collections;
| ^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate
(Removing the extern crate should be enough, but I can't get the UI tests to pass.)
diff?
diff --git a/clippy_lints/src/lib.rs b/clippy_lints/src/lib.rs
index c91492c4..b981a4a1 100644
--- a/clippy_lints/src/lib.rs
+++ b/clippy_lints/src/lib.rs
@@ -1,7 +1,6 @@
// error-pattern:cargo-clippy
#![feature(box_syntax)]
-#![feature(collections)]
#![feature(custom_attribute)]
#![feature(i128_type)]
#![feature(i128)]
@@ -22,7 +21,6 @@ extern crate toml;
// Only for the compile time checking of paths
extern crate core;
-extern crate collections;
// for unicode nfc normalization
extern crate unicode_normalization;
diff --git a/clippy_tests/examples/dlist.rs b/clippy_tests/examples/dlist.rs
index b23aeb70..eeeb9c01 100644
--- a/clippy_tests/examples/dlist.rs
+++ b/clippy_tests/examples/dlist.rs
@@ -1,4 +1,4 @@
-#![feature(plugin, collections)]
+#![feature(plugin, alloc)]
#![feature(associated_type_defaults)]
#![feature(associated_consts)]
@@ -6,8 +6,8 @@
#![warn(clippy)]
#![allow(dead_code, needless_pass_by_value)]
-extern crate collections;
-use collections::linked_list::LinkedList;
+extern crate alloc;
+use alloc::linked_list::LinkedList;
trait Foo {
type Baz = LinkedList<u8>;
rustc 1.19.0-nightly (258ae6dd9 2017-06-15)
binary: rustc
commit-hash: 258ae6dd9b1a8ac97986852fc9f00f7687004ccb
commit-date: 2017-06-15
host: x86_64-apple-darwin
release: 1.19.0-nightly
LLVM version: 4.0
Metadata
Metadata
Assignees
Labels
No labels