Make a placeholder panic message explain its purpose

This commit is contained in:
Kevin Mehall 2021-03-06 09:51:13 -07:00
parent 62f594b390
commit 93c9b34635

View File

@ -238,7 +238,7 @@ macro_rules! define_client_side {
$(impl $name { $(impl $name {
#[allow(unused)] #[allow(unused)]
$(pub(crate) fn $method($($arg: $arg_ty),*) $(-> $ret_ty)* { $(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| { // Bridge::with(|bridge| {
// let mut b = bridge.cached_buffer.take(); // let mut b = bridge.cached_buffer.take();