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 7690aab commit cb735b7Copy full SHA for cb735b7
[refs]
@@ -1,6 +1,6 @@
1
---
2
refs/heads/master: 2898dcc5d97da9427ac367542382b6239d9c0bbf
3
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
4
-refs/heads/snap-stage3: a350bea3130c985e9005ddcbf9819c0f811bbd57
+refs/heads/snap-stage3: a06398214a6e2e9a431309e198e00e0f2dfe397d
5
refs/heads/try: 2898dcc5d97da9427ac367542382b6239d9c0bbf
6
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
branches/snap-stage3/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);
+}
0 commit comments