Fix elided lifetimes in rust-lang/rust

This commit is contained in:
Michael Goulet 2023-08-21 20:43:04 +00:00
parent f7c31862b6
commit 870d6038d5

View file

@ -313,7 +313,7 @@ impl FixtureWithProjectMeta {
} }
impl MiniCore { impl MiniCore {
const RAW_SOURCE: &str = include_str!("./minicore.rs"); const RAW_SOURCE: &'static str = include_str!("./minicore.rs");
fn has_flag(&self, flag: &str) -> bool { fn has_flag(&self, flag: &str) -> bool {
self.activated_flags.iter().any(|it| it == flag) self.activated_flags.iter().any(|it| it == flag)