Crate syn_path

source ·
Expand description

This crate contains the path! macro to turn a path into a syn::Path at compile time.

Macros

A simple macro that can take paths of the form my_crate::my_mod::FooBar and ::my_crate::my_mod::FooBar and turn them into a syn::Path.