mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-26 11:59:49 +00:00
Fix elided lifetimes in rust-lang/rust
This commit is contained in:
parent
4ddc6a780e
commit
7012fff9ab
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue