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 358da6b commit 36c95c7Copy full SHA for 36c95c7
[refs]
@@ -1,5 +1,5 @@
1
---
2
-refs/heads/master: facb5c08c6c26963208fcb52869eff99efcb058b
+refs/heads/master: 11b4a92fc89705b706cf2d3456cc04a8a7d732cd
3
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
4
refs/heads/snap-stage3: 4a81779abd786ff22d71434c6d9a5917ea4cdfff
5
refs/heads/try: 2898dcc5d97da9427ac367542382b6239d9c0bbf
trunk/src/test/compile-fail/block-must-not-have-result-res.rs
@@ -1,7 +1,8 @@
// error-pattern:mismatched types: expected `()` but found `bool`
-resource r(i: int) {
- true
+class r {
+ new() {}
+ drop { true }
6
}
7
8
fn main() {
0 commit comments