Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Alexander Regueiro
committed
Jun 5, 2019
1 parent
c105c28
commit 10b6daa
Showing
46 changed files
with
255 additions
and
676 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
warning: the feature `impl_trait_in_bindings` is incomplete and may cause the compiler to crash | ||
--> $DIR/dyn-lcsit.rs:4:12 | ||
| | ||
LL | #![feature(impl_trait_in_bindings)] | ||
| ^^^^^^^^^^^^^^^^^^^^^^ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
warning: the feature `impl_trait_in_bindings` is incomplete and may cause the compiler to crash | ||
--> $DIR/lcsit.rs:4:12 | ||
| | ||
LL | #![feature(impl_trait_in_bindings)] | ||
| ^^^^^^^^^^^^^^^^^^^^^^ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,9 @@ | ||
error[E0381]: use of possibly uninitialized variable: `x` (Ast) | ||
--> $DIR/borrowck-storage-dead.rs:18:17 | ||
error[E0381]: use of possibly uninitialized variable: `x` | ||
--> $DIR/borrowck-storage-dead.rs:16:17 | ||
| | ||
LL | let _ = x + 1; | ||
| ^ use of possibly uninitialized `x` | ||
|
||
error[E0381]: use of possibly uninitialized variable: `x` (Mir) | ||
--> $DIR/borrowck-storage-dead.rs:18:17 | ||
| | ||
LL | let _ = x + 1; | ||
| ^ use of possibly uninitialized `x` | ||
|
||
error: aborting due to 2 previous errors | ||
error: aborting due to previous error | ||
|
||
For more information about this error, try `rustc --explain E0381`. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,11 @@ | ||
error[E0384]: cannot assign twice to immutable variable `_x` (Ast) | ||
--> $DIR/immutable-arg.rs:4:5 | ||
| | ||
LL | fn foo(_x: u32) { | ||
| -- first assignment to `_x` | ||
LL | _x = 4; | ||
| ^^^^^^ cannot assign twice to immutable variable | ||
|
||
error[E0384]: cannot assign to immutable argument `_x` (Mir) | ||
--> $DIR/immutable-arg.rs:4:5 | ||
error[E0384]: cannot assign to immutable argument `_x` | ||
--> $DIR/immutable-arg.rs:2:5 | ||
| | ||
LL | fn foo(_x: u32) { | ||
| -- help: make this binding mutable: `mut _x` | ||
LL | _x = 4; | ||
| ^^^^^^ cannot assign to immutable argument | ||
|
||
error: aborting due to 2 previous errors | ||
error: aborting due to previous error | ||
|
||
For more information about this error, try `rustc --explain E0384`. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,29 +1,11 @@ | ||
error[E0382]: use of partially moved value: `maybe` (Ast) | ||
--> $DIR/issue-41962.rs:7:30 | ||
| | ||
LL | if let Some(thing) = maybe { | ||
| ----- ^^^^^ value used here after move | ||
| | | ||
| value moved here | ||
| | ||
= note: move occurs because the value has type `std::vec::Vec<bool>`, which does not implement the `Copy` trait | ||
|
||
error[E0382]: use of moved value: `(maybe as std::prelude::v1::Some).0` (Ast) | ||
--> $DIR/issue-41962.rs:7:21 | ||
| | ||
LL | if let Some(thing) = maybe { | ||
| ^^^^^ value moved here in previous iteration of loop | ||
| | ||
= note: move occurs because the value has type `std::vec::Vec<bool>`, which does not implement the `Copy` trait | ||
|
||
error[E0382]: use of moved value (Mir) | ||
--> $DIR/issue-41962.rs:7:21 | ||
error[E0382]: use of moved value | ||
--> $DIR/issue-41962.rs:5:21 | ||
| | ||
LL | if let Some(thing) = maybe { | ||
| ^^^^^ value moved here, in previous iteration of loop | ||
| | ||
= note: move occurs because value has type `std::vec::Vec<bool>`, which does not implement the `Copy` trait | ||
|
||
error: aborting due to 3 previous errors | ||
error: aborting due to previous error | ||
|
||
For more information about this error, try `rustc --explain E0382`. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.