mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-28 21:05:02 +00:00
Run cargo fix --edition-idioms
This commit is contained in:
parent
23d25a3094
commit
816f7fe12a
230 changed files with 888 additions and 888 deletions
|
@ -79,7 +79,7 @@ pub(crate) fn goto_definition(
|
|||
}
|
||||
|
||||
fn try_lookup_include_path(
|
||||
sema: &Semantics<RootDatabase>,
|
||||
sema: &Semantics<'_, RootDatabase>,
|
||||
tt: ast::TokenTree,
|
||||
token: SyntaxToken,
|
||||
file_id: FileId,
|
||||
|
@ -112,7 +112,7 @@ fn try_lookup_include_path(
|
|||
/// impl A for S { type a = i32; } // <-- on this associate type, will get the location of a in the trait
|
||||
/// ```
|
||||
fn try_filter_trait_item_definition(
|
||||
sema: &Semantics<RootDatabase>,
|
||||
sema: &Semantics<'_, RootDatabase>,
|
||||
def: &Definition,
|
||||
) -> Option<Vec<NavigationTarget>> {
|
||||
let db = sema.db;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue