[−][src]Macro label_macros::create_label
create_label!() { /* proc-macro */ }
Creates a new label.
create_label!(fn test() -> (););
To use a label, add an attribute to a function in the following style:
#[test::label] fn my_function() { }
Test is the name of your label (this has to be a full path to it. Labels can be imported).
The annotation has to end with ::label
, or otherwise it will not compile.