// run-rustfix
#![feature(rustc_private)]
#![deny(clippy::internal)]
-#![allow(clippy::unnecessary_operation, unused_must_use)]
+#![allow(
+ clippy::borrow_deref_ref,
+ clippy::unnecessary_operation,
+ unused_must_use,
+ clippy::missing_clippy_version_attribute
+)]
extern crate rustc_span;
Symbol::intern("foo").as_str() == "clippy";
Symbol::intern("foo").to_string() == "self";
Symbol::intern("foo").to_ident_string() != "Self";
- &*Ident::invalid().as_str() == "clippy";
- "clippy" == Ident::invalid().to_string();
+ &*Ident::empty().as_str() == "clippy";
+ "clippy" == Ident::empty().to_string();
}