Attribute codegen
This commit is contained in:
+7
-1
@@ -2,4 +2,10 @@
|
||||
public struct ApiCall {
|
||||
i32 x,
|
||||
i32 y,
|
||||
}
|
||||
}
|
||||
|
||||
void main() {
|
||||
ApiCall call = ApiCall { x: 10, y: 12 };
|
||||
|
||||
println!("{call:?}");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user