Rust upgrade to rustc 1.35.0-nightly (00856722b 2019-04-13)
This commit is contained in:
parent
5939b6131f
commit
1366b9516b
@ -1,4 +1,3 @@
|
|||||||
#![feature(alloc)]
|
|
||||||
#![feature(associated_type_defaults)]
|
#![feature(associated_type_defaults)]
|
||||||
#![warn(clippy::linkedlist)]
|
#![warn(clippy::linkedlist)]
|
||||||
#![allow(dead_code, clippy::needless_pass_by_value)]
|
#![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?
|
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>;
|
LL | type Baz = LinkedList<u8>;
|
||||||
| ^^^^^^^^^^^^^^
|
| ^^^^^^^^^^^^^^
|
||||||
@ -8,7 +8,7 @@ LL | type Baz = LinkedList<u8>;
|
|||||||
= help: a VecDeque might work
|
= help: a VecDeque might work
|
||||||
|
|
||||||
error: I see you're using a LinkedList! Perhaps you meant some other data structure?
|
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>);
|
LL | fn foo(LinkedList<u8>);
|
||||||
| ^^^^^^^^^^^^^^
|
| ^^^^^^^^^^^^^^
|
||||||
@ -16,7 +16,7 @@ LL | fn foo(LinkedList<u8>);
|
|||||||
= help: a VecDeque might work
|
= help: a VecDeque might work
|
||||||
|
|
||||||
error: I see you're using a LinkedList! Perhaps you meant some other data structure?
|
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>>;
|
LL | const BAR: Option<LinkedList<u8>>;
|
||||||
| ^^^^^^^^^^^^^^
|
| ^^^^^^^^^^^^^^
|
||||||
@ -24,7 +24,7 @@ LL | const BAR: Option<LinkedList<u8>>;
|
|||||||
= help: a VecDeque might work
|
= help: a VecDeque might work
|
||||||
|
|
||||||
error: I see you're using a LinkedList! Perhaps you meant some other data structure?
|
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>) {}
|
LL | fn foo(_: LinkedList<u8>) {}
|
||||||
| ^^^^^^^^^^^^^^
|
| ^^^^^^^^^^^^^^
|
||||||
@ -32,7 +32,7 @@ LL | fn foo(_: LinkedList<u8>) {}
|
|||||||
= help: a VecDeque might work
|
= help: a VecDeque might work
|
||||||
|
|
||||||
error: I see you're using a LinkedList! Perhaps you meant some other data structure?
|
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>) {
|
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
|
= help: a VecDeque might work
|
||||||
|
|
||||||
error: I see you're using a LinkedList! Perhaps you meant some other data structure?
|
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>> {
|
LL | pub fn test_ret() -> Option<LinkedList<u8>> {
|
||||||
| ^^^^^^^^^^^^^^
|
| ^^^^^^^^^^^^^^
|
||||||
|
Loading…
x
Reference in New Issue
Block a user