Skip to content

Commit 93c9b34

Browse files
committed
Make a placeholder panic message explain its purpose
1 parent 62f594b commit 93c9b34

File tree

1 file changed

+1
-1
lines changed
  • crates/proc_macro_srv/src/proc_macro/bridge

1 file changed

+1
-1
lines changed

crates/proc_macro_srv/src/proc_macro/bridge/client.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -238,7 +238,7 @@ macro_rules! define_client_side {
238238
$(impl $name {
239239
#[allow(unused)]
240240
$(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");
242242
// Bridge::with(|bridge| {
243243
// let mut b = bridge.cached_buffer.take();
244244

0 commit comments

Comments
 (0)