Skip to content

Commit

Permalink
Remove broken #[turbo_tasks::value(transparent)] attributes
Browse files Browse the repository at this point in the history
  • Loading branch information
bgw committed May 3, 2024
1 parent eba364a commit 37b4736
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ use turbopack_binding::turbopack::{

/// A [`CssClientReferenceModule`] is a marker module used to indicate which
/// client reference should appear in the client reference manifest.
#[turbo_tasks::value(transparent)]
#[turbo_tasks::value]
pub struct CssClientReferenceModule {
pub client_module: Vc<Box<dyn CssChunkPlaceable>>,
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ use turbopack_binding::turbopack::{
/// An [EcmascriptClientReferenceModule] is a marker module, used by the
/// [super::ecmascript_client_reference_proxy_module::EcmascriptClientReferenceProxyModule] to indicate which client reference
/// should appear in the client reference manifest.
#[turbo_tasks::value(transparent)]
#[turbo_tasks::value]
pub struct EcmascriptClientReferenceModule {
pub server_ident: Vc<AssetIdent>,
pub client_module: Vc<Box<dyn EcmascriptChunkPlaceable>>,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ use super::ecmascript_client_reference_module::EcmascriptClientReferenceModule;

/// A [`EcmascriptClientReferenceProxyModule`] is used in RSC to represent
/// a client or SSR asset.
#[turbo_tasks::value(transparent)]
#[turbo_tasks::value]
pub struct EcmascriptClientReferenceProxyModule {
server_module_ident: Vc<AssetIdent>,
server_asset_context: Vc<Box<dyn AssetContext>>,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ pub struct ClientReferenceGraphResult {
#[turbo_tasks::value(transparent)]
pub struct ClientReferenceTypes(IndexSet<ClientReferenceType>);

#[turbo_tasks::value(transparent)]
#[turbo_tasks::value]
pub struct ClientReferenceGraph {
graph: AdjacencyMap<VisitClientReferenceNode>,
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ use turbopack_binding::turbopack::core::{

/// A [`NextDynamicEntryModule`] is a marker asset used to indicate which
/// dynamic assets should appear in the dynamic manifest.
#[turbo_tasks::value(transparent)]
#[turbo_tasks::value]
pub struct NextDynamicEntryModule {
pub client_entry_module: Vc<Box<dyn Module>>,
}
Expand Down

0 comments on commit 37b4736

Please sign in to comment.