feat(interface): add authoring macros and codecs
Add the wip-interface facade and proc-macro implementation for typed interface descriptors, DTO value codecs, validated dispatch, metadata extraction, and span-aware compile failures.
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
error: a WIP interface trait must be public
|
||||
--> tests/ui/private_trait.rs:3:1
|
||||
|
|
||||
3 | #[interface]
|
||||
| ^^^^^^^^^^^^
|
||||
|
|
||||
= note: this error originates in the attribute macro `interface` (in Nightly builds, run with -Z macro-backtrace for more info)
|
||||
|
||||
warning: unused import: `OperationResult`
|
||||
--> tests/ui/private_trait.rs:1:21
|
||||
|
|
||||
1 | use wip_interface::{OperationResult, interface};
|
||||
| ^^^^^^^^^^^^^^^
|
||||
|
|
||||
= note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
|
||||
Reference in New Issue
Block a user