Fix elided lifetimes in rust-lang/rust
This commit is contained in:
parent
fad7d220fd
commit
b1c609e2a6
@ -601,7 +601,7 @@ pub struct RustAnalyzer {
|
||||
}
|
||||
|
||||
impl RustAnalyzer {
|
||||
pub const ALLOW_FEATURES: &str =
|
||||
pub const ALLOW_FEATURES: &'static str =
|
||||
"proc_macro_internals,proc_macro_diagnostic,proc_macro_span,proc_macro_span_shrink";
|
||||
}
|
||||
|
||||
|
@ -313,7 +313,7 @@ impl FixtureWithProjectMeta {
|
||||
}
|
||||
|
||||
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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user