We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9cc43b1 commit 34c1ad8Copy full SHA for 34c1ad8
[refs]
@@ -1,5 +1,5 @@
1
---
2
-refs/heads/master: a350bea3130c985e9005ddcbf9819c0f811bbd57
+refs/heads/master: a06398214a6e2e9a431309e198e00e0f2dfe397d
3
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
4
refs/heads/snap-stage3: 4a81779abd786ff22d71434c6d9a5917ea4cdfff
5
refs/heads/try: 2898dcc5d97da9427ac367542382b6239d9c0bbf
trunk/src/test/compile-fail/issue-2467.rs
@@ -0,0 +1,6 @@
+enum test { thing = 3u } //! ERROR mismatched types
+//!^ ERROR expected signed integer constant
+fn main() {
+ log(error, thing as int);
+ assert(thing as int == 3);
6
+}
0 commit comments