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 0ffde5f commit bf5c44aCopy full SHA for bf5c44a
[refs]
@@ -1,5 +1,5 @@
1
---
2
-refs/heads/master: 3f816bdd57d60b8ed1af4a67513bc0cb00e216b6
+refs/heads/master: f05e2da709cca3b20e560eaf2e05d73c0ca5d91b
3
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
4
refs/heads/snap-stage3: eb8fd119c65c67f3b1b8268cc7341c22d39b7b61
5
refs/heads/try: d324a424d8f84b1eb049b12cf34182bda91b0024
trunk/src/test/compile-fail/multiple-main.rs
@@ -0,0 +1,7 @@
+fn main() {
+}
+
+mod foo {
+ fn main() { //~ ERROR multiple 'main' functions
6
+ }
7
0 commit comments