Fix elided lifetimes in rust-lang/rust

This commit is contained in:
Michael Goulet 2023-08-21 20:43:04 +00:00
parent 4ddc6a780e
commit 7012fff9ab

View File

@ -313,7 +313,7 @@ fn parse_meta_line(meta: &str) -> Fixture {
}
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 {
self.activated_flags.iter().any(|it| it == flag)