]> git.lizzy.rs Git - rust.git/blob - src/tools/clippy/clippy_utils/src/sym_helper.rs
Merge commit '0969bc6dde001e01e7e1f58c8ccd7750f8a49ae1' into sync_cg_clif-2021-03-29
[rust.git] / src / tools / clippy / clippy_utils / src / sym_helper.rs
1 #[macro_export]
2 /// Convenience wrapper around rustc's `Symbol::intern`
3 macro_rules! sym {
4     ($tt:tt) => {
5         rustc_span::symbol::Symbol::intern(stringify!($tt))
6     };
7 }