diff --git a/documentation/docs/98-reference/.generated/compile-errors.md b/documentation/docs/98-reference/.generated/compile-errors.md index 7882eb1add..bcb519bf27 100644 --- a/documentation/docs/98-reference/.generated/compile-errors.md +++ b/documentation/docs/98-reference/.generated/compile-errors.md @@ -190,12 +190,6 @@ Cyclical dependency detected: %cycle% `{@const}` must be the immediate child of `{#snippet}`, `{#if}`, `{:else if}`, `{:else}`, `{#each}`, `{:then}`, `{:catch}`, ``, `` ``` -### const_tag_invalid_rune_usage - -``` -Can't use %name% as initialization of a `{@const}` tag -``` - ### constant_assignment ``` @@ -654,6 +648,12 @@ Cannot access a computed property of a rune `%name%` is not a valid rune ``` +### rune_invalid_placement + +``` +Can't use `%name%` rune here +``` + ### rune_invalid_usage ``` diff --git a/packages/svelte/messages/compile-errors/template.md b/packages/svelte/messages/compile-errors/template.md index 55a475d6fc..493bd781b7 100644 --- a/packages/svelte/messages/compile-errors/template.md +++ b/packages/svelte/messages/compile-errors/template.md @@ -120,10 +120,6 @@ > `{@const}` must be the immediate child of `{#snippet}`, `{#if}`, `{:else if}`, `{:else}`, `{#each}`, `{:then}`, `{:catch}`, ``, `` -## const_tag_invalid_rune_usage - -> Can't use %name% as initialization of a `{@const}` tag - ## debug_tag_invalid_arguments > {@debug ...} arguments must be identifiers, not arbitrary expressions @@ -222,6 +218,10 @@ HTML restricts where certain elements can appear. In case of a violation the bro > cannot use spread arguments in `{@render ...}` tags +## rune_invalid_placement + +> Can't use `%name%` rune here + ## script_duplicate > A component can have a single top-level `