2 #![feature(rustc_private)]
3 #![deny(clippy::internal)]
5 clippy::unnecessary_operation,
7 clippy::missing_clippy_version_attribute
10 extern crate rustc_span;
12 use rustc_span::symbol::{Ident, Symbol};
15 Symbol::intern("foo").as_str() == "clippy";
16 Symbol::intern("foo").to_string() == "self";
17 Symbol::intern("foo").to_ident_string() != "Self";
18 &*Ident::empty().as_str() == "clippy";
19 "clippy" == Ident::empty().to_string();