mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-30 05:45:12 +00:00
Rename FnScopes -> ExprScopes
The reason for this is that it describes scopes for any body expression, not just that of a function. It did not actually refer to functions at all anymore.
This commit is contained in:
parent
c65e6cdcb3
commit
65864d85f9
8 changed files with 26 additions and 26 deletions
|
@ -1,5 +1,3 @@
|
|||
mod scope;
|
||||
|
||||
use std::sync::Arc;
|
||||
|
||||
use ra_syntax::ast::{self, NameOwner};
|
||||
|
@ -11,8 +9,6 @@ use crate::{
|
|||
impl_block::ImplBlock,
|
||||
};
|
||||
|
||||
pub use self::scope::{FnScopes, ScopesWithSyntaxMapping, ScopeEntryWithSyntax};
|
||||
|
||||
impl Function {
|
||||
pub(crate) fn body(&self, db: &impl HirDatabase) -> Arc<Body> {
|
||||
db.body_hir(*self)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue