forked from rust-lang/rust
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move issue-26480 cfail to ui test. Fix rust-lang#33763
- Loading branch information
Jonathan Turner
committed
May 24, 2016
1 parent
4280992
commit 9cc8deb
Showing
3 changed files
with
63 additions
and
31 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
error: mismatched types [--explain E0308] | ||
--> $DIR/issue-26480.rs:27:19 | ||
|> | ||
27 |> $arr.len() * size_of($arr[0])); | ||
|> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected u64, found usize | ||
$DIR/issue-26480.rs:38:5: 38:19: note: in this expansion of write! (defined in $DIR/issue-26480.rs) | ||
|
||
|
||
error: non-scalar cast: `_` as `()` | ||
--> $DIR/issue-26480.rs:33:19 | ||
|> | ||
33 |> ($x:expr) => ($x as ()) | ||
|> ^^^^^^^^ | ||
$DIR/issue-26480.rs:39:5: 39:14: note: in this expansion of cast! (defined in $DIR/issue-26480.rs) | ||
|
||
|
||
error: aborting due to 2 previous errors |