@@ -2698,6 +2698,7 @@ describe('Cache Components Errors', () => {
2698
2698
"stack": [
2699
2699
"{module evaluation} app/use-cache-private-in-unstable-cache/page.tsx (21:38)",
2700
2700
"<FIXME-next-dist-dir>",
2701
+ "<FIXME-next-dist-dir>",
2701
2702
],
2702
2703
}
2703
2704
` )
@@ -2753,7 +2754,6 @@ describe('Cache Components Errors', () => {
2753
2754
"Error: "use cache: private" must not be used within \`unstable_cache()\`.
2754
2755
at __TURBOPACK__module__evaluation__ (bundler:///app/use-cache-private-in-unstable-cache/page.tsx:21:38)
2755
2756
at a (<next-dist-dir>)
2756
- at b (<next-dist-dir>)
2757
2757
19 | }
2758
2758
20 |
2759
2759
> 21 | const getCachedData = unstable_cache(async () => {
@@ -2771,8 +2771,6 @@ describe('Cache Components Errors', () => {
2771
2771
expect ( output ) . toMatchInlineSnapshot ( `
2772
2772
"Error: "use cache: private" must not be used within \`unstable_cache()\`.
2773
2773
at __TURBOPACK__module__evaluation__ (bundler:///app/use-cache-private-in-unstable-cache/page.tsx:21:38)
2774
- at a (<next-dist-dir>)
2775
- at b (<next-dist-dir>)
2776
2774
19 | }
2777
2775
20 |
2778
2776
> 21 | const getCachedData = unstable_cache(async () => {
@@ -2898,7 +2896,6 @@ describe('Cache Components Errors', () => {
2898
2896
"Error: "use cache: private" must not be used within "use cache". It can only be nested inside of another "use cache: private".
2899
2897
at __TURBOPACK__module__evaluation__ (bundler:///app/use-cache-private-in-use-cache/page.tsx:15:1)
2900
2898
at a (<next-dist-dir>)
2901
- at b (<next-dist-dir>)
2902
2899
13 | }
2903
2900
14 |
2904
2901
> 15 | async function Private() {
@@ -2908,8 +2905,7 @@ describe('Cache Components Errors', () => {
2908
2905
18 | return <p>Private</p>
2909
2906
Error: "use cache: private" must not be used within "use cache". It can only be nested inside of another "use cache: private".
2910
2907
at __TURBOPACK__module__evaluation__ (bundler:///app/use-cache-private-in-use-cache/page.tsx:15:1)
2911
- at c (<next-dist-dir>)
2912
- at d (<next-dist-dir>)
2908
+ at b (<next-dist-dir>)
2913
2909
13 | }
2914
2910
14 |
2915
2911
> 15 | async function Private() {
@@ -2927,8 +2923,6 @@ describe('Cache Components Errors', () => {
2927
2923
expect ( output ) . toMatchInlineSnapshot ( `
2928
2924
"Error: "use cache: private" must not be used within "use cache". It can only be nested inside of another "use cache: private".
2929
2925
at __TURBOPACK__module__evaluation__ (bundler:///app/use-cache-private-in-use-cache/page.tsx:15:1)
2930
- at a (<next-dist-dir>)
2931
- at b (<next-dist-dir>)
2932
2926
13 | }
2933
2927
14 |
2934
2928
> 15 | async function Private() {
@@ -2938,8 +2932,6 @@ describe('Cache Components Errors', () => {
2938
2932
18 | return <p>Private</p>
2939
2933
Error: "use cache: private" must not be used within "use cache". It can only be nested inside of another "use cache: private".
2940
2934
at __TURBOPACK__module__evaluation__ (bundler:///app/use-cache-private-in-use-cache/page.tsx:15:1)
2941
- at c (<next-dist-dir>)
2942
- at d (<next-dist-dir>)
2943
2935
13 | }
2944
2936
14 |
2945
2937
> 15 | async function Private() {
0 commit comments