From eede93070c25f048f09019db3f1131a9eed5b578 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EA=B0=95=EB=8F=99=EC=9C=A4=20=28Donny=29?= Date: Thu, 28 Nov 2024 15:04:28 +0900 Subject: [PATCH] fix --- turbopack/crates/turbopack-css/src/process.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/turbopack/crates/turbopack-css/src/process.rs b/turbopack/crates/turbopack-css/src/process.rs index ed8bf9fcdfce12..8427191e2ac0b5 100644 --- a/turbopack/crates/turbopack-css/src/process.rs +++ b/turbopack/crates/turbopack-css/src/process.rs @@ -654,8 +654,8 @@ struct ParsingIssue { #[turbo_tasks::value_impl] impl Issue for ParsingIssue { #[turbo_tasks::function] - fn file_path(&self) -> Vc { - self.file + fn file_path(&self) -> ResolvedVc { + *self.file } #[turbo_tasks::function] @@ -670,7 +670,7 @@ impl Issue for ParsingIssue { #[turbo_tasks::function] fn source(&self) -> Vc { - Vc::cell(self.source.map(|s| s.resolve_source_map(self.file))) + Vc::cell(self.source.map(|s| s.resolve_source_map(*self.file))) } #[turbo_tasks::function]