Remove obsolete test
This test no longer makes sense with classes instead of resources, since class types can't be dereferenced.
This commit is contained in:
parent
f6c552d6d7
commit
b67f8e340b
@ -1,6 +0,0 @@
|
||||
resource r(_r: int) {}
|
||||
|
||||
fn main() {
|
||||
let x = r(3);
|
||||
*x = 4; //! ERROR assigning to resource content
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user