Debian Codegraph @

crates/wit-component/tests/components/rename-interface/module.wit

raw
1 package foo:foo;
2
3 interface foo {
4 record bar {
5 f: u8,
6 }
7
8 a: func() -> bar;
9 }
10
11 world module {
12 import foo;
13 import other-name: interface {
14 use foo.{bar};
15
16 a: func() -> bar;
17 }
18 }