Skip to content

Commit 2b4ac54

Browse files
ndmitchellfacebook-github-bot
authored andcommitted
Move exported under lsp
Summary: Functions used by the LSP, so bundle them together. Reviewed By: bobyangyf Differential Revision: D47195362 fbshipit-source-id: 09f0ad911c185ba8937cc74667dc5650fd9a9706
1 parent 0228e89 commit 2b4ac54

File tree

4 files changed

+2
-2
lines changed

4 files changed

+2
-2
lines changed

starlark/src/analysis/mod.rs

-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@ use crate::analysis::types::LintT;
2525
use crate::syntax::AstModule;
2626

2727
mod dubious;
28-
pub(crate) mod exported;
2928
mod find_call_name;
3029
mod flow;
3130
mod incompatible;
File renamed without changes.

starlark/src/lsp/mod.rs

+1
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
2121
mod bind;
2222
mod definition;
23+
mod exported;
2324
pub mod server;
2425
mod symbols;
2526
#[cfg(all(test, not(windows)))]

starlark/src/lsp/symbols.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,9 @@
1919
2020
use starlark_map::small_map::SmallMap;
2121

22-
use crate::analysis::exported::SymbolKind;
2322
use crate::codemap::CodeMap;
2423
use crate::codemap::LineCol;
24+
use crate::lsp::exported::SymbolKind;
2525
use crate::syntax::ast::AstAssignIdent;
2626
use crate::syntax::ast::AstStmt;
2727
use crate::syntax::ast::StmtP;

0 commit comments

Comments
 (0)