aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKevin Mehall <[email protected]>2021-03-06 16:51:13 +0000
committerKevin Mehall <[email protected]>2021-03-06 16:51:13 +0000
commit93c9b346359a1ca70126242f740e6fc0911c535b (patch)
treeb53326853ee4d42a9946173d7b2d1422551d8209
parent62f594b390e5f648a32b5b08863a6413b4271d19 (diff)
Make a placeholder panic message explain its purpose
-rw-r--r--crates/proc_macro_srv/src/proc_macro/bridge/client.rs2
1 files changed, 1 insertions, 1 deletions
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 {
238 $(impl $name { 238 $(impl $name {
239 #[allow(unused)] 239 #[allow(unused)]
240 $(pub(crate) fn $method($($arg: $arg_ty),*) $(-> $ret_ty)* { 240 $(pub(crate) fn $method($($arg: $arg_ty),*) $(-> $ret_ty)* {
241 panic!("hello"); 241 panic!("crates should be linked against the sysroot version of proc_macro, not this one from rust-analyzer");
242 // Bridge::with(|bridge| { 242 // Bridge::with(|bridge| {
243 // let mut b = bridge.cached_buffer.take(); 243 // let mut b = bridge.cached_buffer.take();
244 244