Skip to content

Commit

Permalink
Auto merge of rust-lang#17062 - Veykril:disable-unlinked-file-popup, …
Browse files Browse the repository at this point in the history
…r=Veykril

Temporarily disable unlinked file popup

Not gonna look into this until the next release, so I'd rather disable it for the time being
  • Loading branch information
bors committed Apr 13, 2024
2 parents 773b4a5 + ff9ebc7 commit beb205f
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion editors/code/src/client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,10 @@ export async function createClient(
? diag.code
: diag.code?.value;
if (
value === "unlinked-file" &&
// FIXME: We currently emit this diagnostic way too early, before we have
// loaded the project fully
// value === "unlinked-file" &&
value === "temporary-disabled" &&
!unlinkedFiles.includes(uri) &&
diag.message !== "file not included in module tree"
) {
Expand Down

0 comments on commit beb205f

Please sign in to comment.