mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-27 20:42:04 +00:00
completion uses hir scopes
This commit is contained in:
parent
4e4ca27eab
commit
49e746b010
5 changed files with 39 additions and 27 deletions
|
@ -33,7 +33,7 @@ pub struct ScopeData {
|
|||
}
|
||||
|
||||
impl FnScopes {
|
||||
pub fn new(fn_def: ast::FnDef) -> FnScopes {
|
||||
pub(crate) fn new(fn_def: ast::FnDef) -> FnScopes {
|
||||
let mut scopes = FnScopes {
|
||||
self_param: fn_def
|
||||
.param_list()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue