]> git.lizzy.rs Git - rust.git/blob - src/tools/clippy/clippy_utils/src/sym_helper.rs
Rollup merge of #102868 - compiler-errors:rename-assoc-tyalias-to-ty, r=TaKO8Ki
[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 }