Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
entry_point in proc_macro_error - Rust
[go: Go Back, main page]

Function proc_macro_error::entry_point

source ยท
pub fn entry_point<F>(f: F) -> TokenStream
where F: FnOnce() -> TokenStream + UnwindSafe,
Expand description

This is the entry point for your proc-macro. It is must to be used on the top level of the proc-macro (a function annotated with `#[proc_macro*] attribute).

Typically, you use #[proc_macro_error] instead, see module level docs.