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 8155152 commit 74438eeCopy full SHA for 74438ee
[refs]
@@ -2,5 +2,5 @@
2
refs/heads/master: 61b1875c16de39c166b0f4d54bba19f9c6777d1a
3
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
4
refs/heads/snap-stage3: 4a81779abd786ff22d71434c6d9a5917ea4cdfff
5
-refs/heads/try: e7409859ce9227d8f66f6de797502418ef6c3ccd
+refs/heads/try: db7a1f7b0cf7348eb8fddb552849f66bb8bdeb27
6
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
branches/try/src/test/compile-fail/enum-in-scope.rs
@@ -0,0 +1,5 @@
1
+enum hello = int;
+
+fn main() {
+ let hello = 0; //!ERROR declaration of `hello` shadows an enum that's in
+}
0 commit comments