mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-11-01 12:24:29 +00:00
Do not default to 'static for trait object lifetimes
We lack trait object default lifetime elision, so `'static` can be wrong at times, confusing the user
This commit is contained in:
parent
df50136c23
commit
2b05bd7d7e
12 changed files with 70 additions and 70 deletions
|
|
@ -1588,7 +1588,7 @@ fn add_target_crate_root(
|
|||
None => Err("proc-macro crate build data is missing dylib path".to_owned()),
|
||||
}
|
||||
}
|
||||
None => Err("proc-macro crate is missing its build data".to_owned()),
|
||||
None => Err("build scripts have not been built".to_owned()),
|
||||
};
|
||||
proc_macros.insert(crate_id, proc_macro);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue