mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-11-01 12:24:29 +00:00
chore: Start infesting ide crates with 'db lifetime
This commit is contained in:
parent
a31e10a2fd
commit
03f1003637
79 changed files with 1214 additions and 815 deletions
|
|
@ -74,8 +74,8 @@ impl ToTokens for TrackedQuery {
|
|||
quote! {
|
||||
#sig {
|
||||
#annotation
|
||||
fn #shim(
|
||||
db: &dyn #trait_name,
|
||||
fn #shim<'db>(
|
||||
db: &'db dyn #trait_name,
|
||||
_input: #input_struct_name,
|
||||
#(#pat_and_tys),*
|
||||
) #ret
|
||||
|
|
@ -88,8 +88,8 @@ impl ToTokens for TrackedQuery {
|
|||
quote! {
|
||||
#sig {
|
||||
#annotation
|
||||
fn #shim(
|
||||
db: &dyn #trait_name,
|
||||
fn #shim<'db>(
|
||||
db: &'db dyn #trait_name,
|
||||
#(#pat_and_tys),*
|
||||
) #ret
|
||||
#invoke_block
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue