rustc/vendor/wit-parser-0.219.1/tests/ui/resources1.wit
2025-01-11 15:57:26 +01:00

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();
}
}