mirror of
https://git.proxmox.com/git/rustc
synced 2025-08-15 19:08:20 +00:00
13 lines
176 B
Plaintext
13 lines
176 B
Plaintext
package foo:resources1;
|
|
|
|
interface resources1 {
|
|
t1: func(a: borrow<r1>) -> ();
|
|
t2: func(a: own<r1>) -> ();
|
|
t3: func(a: r1) -> ();
|
|
|
|
resource r1 {
|
|
f1: func();
|
|
}
|
|
}
|
|
|