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 fc2a02a commit 6edb946Copy full SHA for 6edb946
[refs]
@@ -1,5 +1,5 @@
1
---
2
-refs/heads/master: 7c27ec72d1e95926e27dd67ef58608eea0ee37b3
+refs/heads/master: 8bef2716fe80c3aa0e5cb0654e36a2de77e22bfd
3
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
4
refs/heads/snap-stage3: 4a81779abd786ff22d71434c6d9a5917ea4cdfff
5
refs/heads/try: 2898dcc5d97da9427ac367542382b6239d9c0bbf
trunk/src/test/compile-fail/regions-ret.rs
@@ -0,0 +1,9 @@
+// error-pattern: mismatched types
+
+fn f(x : &a.int) -> &a.int {
+ ret &3;
+}
6
7
+fn main() {
8
9
0 commit comments