From 702eaf9de5a3573c17388d2f5f07c7c7303867a6 Mon Sep 17 00:00:00 2001 From: Rui Chen Date: Wed, 26 Jul 2023 14:32:32 -0400 Subject: [PATCH] rust-analyzer: conflicts_with rust Signed-off-by: Rui Chen --- Formula/rust.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Formula/rust.rb b/Formula/rust.rb index ac91b09aa83f8..5d5bdcbb55791 100644 --- a/Formula/rust.rb +++ b/Formula/rust.rb @@ -42,6 +42,8 @@ class Rust < Formula uses_from_macos "curl" uses_from_macos "zlib" + conflicts_with "rust-analyzer", because: "both install `rust-analyzer` binary" + resource "cargobootstrap" do on_macos do # From https://github.com/rust-lang/rust/blob/#{version}/src/stage0.json