@@ -383,7 +383,7 @@ impl AppProject {
383
383
) ) ,
384
384
module_styles_rule_condition( ) ,
385
385
] ) ,
386
- ResolvedVc :: upcast ( self . css_client_reference_transition( ) . to_resolved( ) . await ?) ,
386
+ self . css_client_reference_transition( ) . to_resolved( ) . await ?,
387
387
) ,
388
388
// Don't wrap in marker module but change context, this is used to determine
389
389
// the list of CSS module classes.
@@ -399,7 +399,7 @@ impl AppProject {
399
399
// Mark as client reference all regular CSS imports
400
400
TransitionRule :: new(
401
401
styles_rule_condition( ) ,
402
- ResolvedVc :: upcast ( self . css_client_reference_transition( ) . to_resolved( ) . await ?) ,
402
+ self . css_client_reference_transition( ) . to_resolved( ) . await ?,
403
403
) ,
404
404
] ,
405
405
..Default :: default ( )
@@ -413,7 +413,7 @@ impl AppProject {
413
413
self . get_rsc_transitions (
414
414
self . ecmascript_client_reference_transition ( ) ,
415
415
Vc :: upcast ( self . ssr_transition ( ) ) ,
416
- Vc :: upcast ( self . shared_transition ( ) ) ,
416
+ self . shared_transition ( ) ,
417
417
) ,
418
418
self . project ( ) . server_compile_time_info ( ) ,
419
419
self . rsc_module_options_context ( ) ,
@@ -428,7 +428,7 @@ impl AppProject {
428
428
self . get_rsc_transitions (
429
429
self . edge_ecmascript_client_reference_transition ( ) ,
430
430
Vc :: upcast ( self . edge_ssr_transition ( ) ) ,
431
- Vc :: upcast ( self . edge_shared_transition ( ) ) ,
431
+ self . edge_shared_transition ( ) ,
432
432
) ,
433
433
self . project ( ) . edge_compile_time_info ( ) ,
434
434
self . edge_rsc_module_options_context ( ) ,
@@ -467,7 +467,7 @@ impl AppProject {
467
467
) ,
468
468
(
469
469
rcstr ! ( "next-shared" ) ,
470
- ResolvedVc :: upcast ( self . shared_transition ( ) . to_resolved ( ) . await ?) ,
470
+ self . shared_transition ( ) . to_resolved ( ) . await ?,
471
471
) ,
472
472
(
473
473
rcstr ! ( "next-server-utility" ) ,
@@ -518,7 +518,7 @@ impl AppProject {
518
518
) ,
519
519
(
520
520
rcstr ! ( "next-shared" ) ,
521
- ResolvedVc :: upcast ( self . edge_shared_transition ( ) . to_resolved ( ) . await ?) ,
521
+ self . edge_shared_transition ( ) . to_resolved ( ) . await ?,
522
522
) ,
523
523
(
524
524
rcstr ! ( "next-server-utility" ) ,
@@ -640,7 +640,7 @@ impl AppProject {
640
640
) ,
641
641
(
642
642
rcstr ! ( "next-shared" ) ,
643
- ResolvedVc :: upcast ( self . shared_transition ( ) . to_resolved ( ) . await ?) ,
643
+ self . shared_transition ( ) . to_resolved ( ) . await ?,
644
644
) ,
645
645
]
646
646
. into_iter ( )
@@ -712,7 +712,7 @@ impl AppProject {
712
712
) ,
713
713
(
714
714
rcstr ! ( "next-shared" ) ,
715
- ResolvedVc :: upcast ( self . edge_shared_transition ( ) . to_resolved ( ) . await ?) ,
715
+ self . edge_shared_transition ( ) . to_resolved ( ) . await ?,
716
716
) ,
717
717
]
718
718
. into_iter ( )
@@ -877,8 +877,7 @@ impl AppProject {
877
877
// Implements layout segment optimization to compute a graph "chain" for each layout
878
878
// segment
879
879
async move {
880
- let rsc_entry_chunk_group =
881
- ChunkGroupEntry :: Entry ( vec ! [ ResolvedVc :: upcast( rsc_entry) ] ) ;
880
+ let rsc_entry_chunk_group = ChunkGroupEntry :: Entry ( vec ! [ rsc_entry] ) ;
882
881
883
882
let mut graphs = vec ! [ ] ;
884
883
let mut visited_modules = if has_layout_segments {
@@ -1389,18 +1388,16 @@ impl AppEndpoint {
1389
1388
polyfill_files : vec ! [ polyfill_output_asset] ,
1390
1389
..Default :: default ( )
1391
1390
} ;
1392
- let build_manifest_output = ResolvedVc :: upcast (
1393
- build_manifest
1394
- . build_output (
1395
- node_root. join ( & format ! (
1396
- "server/app{manifest_path_prefix}/build-manifest.json" ,
1397
- ) ) ?,
1398
- client_relative_path. clone ( ) ,
1399
- )
1400
- . await ?
1401
- . to_resolved ( )
1402
- . await ?,
1403
- ) ;
1391
+ let build_manifest_output = build_manifest
1392
+ . build_output (
1393
+ node_root. join ( & format ! (
1394
+ "server/app{manifest_path_prefix}/build-manifest.json" ,
1395
+ ) ) ?,
1396
+ client_relative_path. clone ( ) ,
1397
+ )
1398
+ . await ?
1399
+ . to_resolved ( )
1400
+ . await ?;
1404
1401
server_assets. insert ( build_manifest_output) ;
1405
1402
}
1406
1403
@@ -1548,7 +1545,7 @@ impl AppEndpoint {
1548
1545
if emit_manifests == EmitManifests :: Full {
1549
1546
let dynamic_import_entries = collect_next_dynamic_chunks (
1550
1547
* module_graphs. full ,
1551
- * ResolvedVc :: upcast ( client_chunking_context) ,
1548
+ * client_chunking_context,
1552
1549
next_dynamic_imports,
1553
1550
NextDynamicChunkAvailability :: ClientReferences (
1554
1551
& * ( client_references_chunks. await ?) ,
@@ -1663,7 +1660,7 @@ impl AppEndpoint {
1663
1660
// create react-loadable-manifest for next/dynamic
1664
1661
let dynamic_import_entries = collect_next_dynamic_chunks (
1665
1662
* module_graphs. full ,
1666
- * ResolvedVc :: upcast ( client_chunking_context) ,
1663
+ * client_chunking_context,
1667
1664
next_dynamic_imports,
1668
1665
NextDynamicChunkAvailability :: ClientReferences (
1669
1666
& * ( client_references_chunks. await ?) ,
0 commit comments