Skip to content

Commit 2332759

Browse files
committedJul 16, 2018
Move some compile-fail tests to ui
1 parent 7e32059 commit 2332759

File tree

1,152 files changed

+9668
-17
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,152 files changed

+9668
-17
lines changed
 
File renamed without changes.

‎src/test/ui/issue-10176.stderr

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
error[E0308]: mismatched types
2+
--> $DIR/issue-10176.rs:12:5
3+
|
4+
LL | fn f() -> isize {
5+
| ----- expected `isize` because of return type
6+
LL | (return 1, return 2)
7+
| ^^^^^^^^^^^^^^^^^^^^ expected isize, found tuple
8+
|
9+
= note: expected type `isize`
10+
found type `(!, !)`
11+
12+
error: aborting due to previous error
13+
14+
For more information about this error, try `rustc --explain E0308`.

0 commit comments

Comments
 (0)
Please sign in to comment.