From 93c9b346359a1ca70126242f740e6fc0911c535b Mon Sep 17 00:00:00 2001 From: Kevin Mehall Date: Sat, 6 Mar 2021 09:51:13 -0700 Subject: Make a placeholder panic message explain its purpose --- crates/proc_macro_srv/src/proc_macro/bridge/client.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/proc_macro_srv/src/proc_macro/bridge/client.rs b/crates/proc_macro_srv/src/proc_macro/bridge/client.rs index ca6749b9b..b036d4e20 100644 --- a/crates/proc_macro_srv/src/proc_macro/bridge/client.rs +++ b/crates/proc_macro_srv/src/proc_macro/bridge/client.rs @@ -238,7 +238,7 @@ macro_rules! define_client_side { $(impl $name { #[allow(unused)] $(pub(crate) fn $method($($arg: $arg_ty),*) $(-> $ret_ty)* { - panic!("hello"); + panic!("crates should be linked against the sysroot version of proc_macro, not this one from rust-analyzer"); // Bridge::with(|bridge| { // let mut b = bridge.cached_buffer.take(); -- cgit v1.2.3