clippy_utils/
sym_helper.rs

1
2
3
4
5
6
7
#[macro_export]
/// Convenience wrapper around rustc's `Symbol::intern`
macro_rules! sym {
    ($tt:tt) => {
        rustc_span::symbol::Symbol::intern(stringify!($tt))
    };
}