From c9175dc0f1520b8eebfc45c324c0765eb8622a72 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Lauren=C8=9Biu=20Nicola?= <lnicola@dend.ro>
Date: Wed, 22 Dec 2021 09:20:46 +0200
Subject: [PATCH] Disable unstable APIs for nightly releases

---
 xtask/src/dist.rs | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/xtask/src/dist.rs b/xtask/src/dist.rs
index 6e0902c7a07..c05b0de676a 100644
--- a/xtask/src/dist.rs
+++ b/xtask/src/dist.rs
@@ -63,9 +63,7 @@ fn dist_client(version: &str, release_tag: &str, target: &Target) -> Result<()>
             r#""displayName": "rust-analyzer (nightly)""#,
         );
     }
-    if !nightly {
-        patch.replace(r#""enableProposedApi": true,"#, r#""#);
-    }
+    patch.replace(r#""enableProposedApi": true,"#, r#""#);
     patch.commit()?;
 
     Ok(())