mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-01 11:31:15 +00:00
Fix elided lifetimes in rust-lang/rust
This commit is contained in:
parent
4ddc6a780e
commit
7012fff9ab
@ -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)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user