We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 84ea57f commit 87f9fd5Copy full SHA for 87f9fd5
turbopack/crates/turbo-tasks/src/backend.rs
@@ -312,18 +312,18 @@ impl CachedTaskType {
312
fn_type: native_fn,
313
this: _,
314
arg: _,
315
- }
316
- | Self::ResolveNative {
+ } => Cow::Borrowed(®istry::get_function(*native_fn).name),
+ Self::ResolveNative {
317
318
319
320
- } => Cow::Borrowed(®istry::get_function(*native_fn).name),
+ } => format!("*{}", registry::get_function(*native_fn).name).into(),
321
Self::ResolveTrait {
322
trait_type: trait_id,
323
method_name: fn_name,
324
325
326
- } => format!("{}::{}", registry::get_trait(*trait_id).name, fn_name).into(),
+ } => format!("*{}::{}", registry::get_trait(*trait_id).name, fn_name).into(),
327
}
328
329
0 commit comments