mirror of
https://github.com/rust-lang/rust.git
synced 2025-01-26 06:35:27 +00:00
Auto merge of #3959 - rust-lang:rustup, r=phansch
Rust upgrade to rustc 1.35.0-nightly (00856722b
2019-04-13)
r? @phansch @oli-obk
This commit is contained in:
commit
d19b66e900
@ -1,4 +1,3 @@
|
||||
#![feature(alloc)]
|
||||
#![feature(associated_type_defaults)]
|
||||
#![warn(clippy::linkedlist)]
|
||||
#![allow(dead_code, clippy::needless_pass_by_value)]
|
||||
|
@ -1,5 +1,5 @@
|
||||
error: I see you're using a LinkedList! Perhaps you meant some other data structure?
|
||||
--> $DIR/dlist.rs:10:16
|
||||
--> $DIR/dlist.rs:9:16
|
||||
|
|
||||
LL | type Baz = LinkedList<u8>;
|
||||
| ^^^^^^^^^^^^^^
|
||||
@ -8,7 +8,7 @@ LL | type Baz = LinkedList<u8>;
|
||||
= help: a VecDeque might work
|
||||
|
||||
error: I see you're using a LinkedList! Perhaps you meant some other data structure?
|
||||
--> $DIR/dlist.rs:11:12
|
||||
--> $DIR/dlist.rs:10:12
|
||||
|
|
||||
LL | fn foo(LinkedList<u8>);
|
||||
| ^^^^^^^^^^^^^^
|
||||
@ -16,7 +16,7 @@ LL | fn foo(LinkedList<u8>);
|
||||
= help: a VecDeque might work
|
||||
|
||||
error: I see you're using a LinkedList! Perhaps you meant some other data structure?
|
||||
--> $DIR/dlist.rs:12:23
|
||||
--> $DIR/dlist.rs:11:23
|
||||
|
|
||||
LL | const BAR: Option<LinkedList<u8>>;
|
||||
| ^^^^^^^^^^^^^^
|
||||
@ -24,7 +24,7 @@ LL | const BAR: Option<LinkedList<u8>>;
|
||||
= help: a VecDeque might work
|
||||
|
||||
error: I see you're using a LinkedList! Perhaps you meant some other data structure?
|
||||
--> $DIR/dlist.rs:23:15
|
||||
--> $DIR/dlist.rs:22:15
|
||||
|
|
||||
LL | fn foo(_: LinkedList<u8>) {}
|
||||
| ^^^^^^^^^^^^^^
|
||||
@ -32,7 +32,7 @@ LL | fn foo(_: LinkedList<u8>) {}
|
||||
= help: a VecDeque might work
|
||||
|
||||
error: I see you're using a LinkedList! Perhaps you meant some other data structure?
|
||||
--> $DIR/dlist.rs:26:39
|
||||
--> $DIR/dlist.rs:25:39
|
||||
|
|
||||
LL | pub fn test(my_favourite_linked_list: LinkedList<u8>) {
|
||||
| ^^^^^^^^^^^^^^
|
||||
@ -40,7 +40,7 @@ LL | pub fn test(my_favourite_linked_list: LinkedList<u8>) {
|
||||
= help: a VecDeque might work
|
||||
|
||||
error: I see you're using a LinkedList! Perhaps you meant some other data structure?
|
||||
--> $DIR/dlist.rs:30:29
|
||||
--> $DIR/dlist.rs:29:29
|
||||
|
|
||||
LL | pub fn test_ret() -> Option<LinkedList<u8>> {
|
||||
| ^^^^^^^^^^^^^^
|
||||
|
Loading…
Reference in New Issue
Block a user