We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9f53fd0 commit efc1698Copy full SHA for efc1698
app/buck2_server/src/lsp.rs
@@ -138,7 +138,9 @@ impl DocsCacheManager {
138
.iter()
139
.flat_map(|(_, d)| d.members.keys().map(|s| s.as_str()))
140
.collect();
141
- if let Some((import_path, docs)) = get_prelude_docs(dice_ctx, &builtin_names).await? {
+
142
+ // Do not ? the error here. It's prelude. It's allowed to have type errors.
143
+ if let Ok(Some((import_path, docs))) = get_prelude_docs(dice_ctx, &builtin_names).await {
144
builtin_docs.push((Some(import_path), docs));
145
}
146
let equality_token = dice_ctx.equality_token();
0 commit comments