aboutsummaryrefslogtreecommitdiff
path: root/crates
diff options
context:
space:
mode:
Diffstat (limited to 'crates')
-rw-r--r--crates/ra_assists/src/lib.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/ra_assists/src/lib.rs b/crates/ra_assists/src/lib.rs
index 4e97a84c2..062dd8804 100644
--- a/crates/ra_assists/src/lib.rs
+++ b/crates/ra_assists/src/lib.rs
@@ -53,7 +53,7 @@ pub fn assists<H>(db: &H, range: FileRange) -> Vec<(AssistLabel, AssistAction)>
53where 53where
54 H: HirDatabase + 'static, 54 H: HirDatabase + 'static,
55{ 55{
56 AssistCtx::with_ctx(db, range, false, |ctx| { 56 AssistCtx::with_ctx(db, range, true, |ctx| {
57 all_assists() 57 all_assists()
58 .iter() 58 .iter()
59 .filter_map(|f| f(ctx.clone())) 59 .filter_map(|f| f(ctx.clone()))