{"record":{"id":"1a4e78d7c266b7e9","repo":"typst/typst","slug":"duplicate-named-destination","errorCode":null,"errorMessage":"duplicate named destination","messagePattern":"duplicate named destination","errorType":"exception","errorClass":null,"httpStatus":null,"severity":"error","filePath":"crates/typst-pdf/src/convert.rs","lineNumber":509,"sourceCode":"                    }\n                }\n            }\n            KrillaError::DuplicateTagId(_, loc) => {\n                let span = to_span(loc);\n                bail!(span,\n                    \"duplicate tag id\";\n                    hint: \"please report this as a bug\";\n                );\n            }\n            KrillaError::UnknownTagId(_, loc) => {\n                let span = to_span(loc);\n                bail!(span,\n                    \"unknown tag id\";\n                    hint: \"please report this as a bug\";\n                );\n            }\n            KrillaError::DuplicateNamedDestination(_) => {\n                bail!(Span::detached(),\n                    \"duplicate named destination\";\n                    hint: \"please report this as a bug\";\n                );\n            }\n            KrillaError::Limit(LimitError::TooLongArray) => bail!(\n                Span::detached(),\n                \"a PDF array is longer than 8191 elements\";\n                hint: \"set the PDF version to PDF 1.5 or later\";\n                hint: \"this can happen if you have a very long text in a single line\";\n            ),\n            KrillaError::Limit(LimitError::TooLongDictionary) => bail!(\n                Span::detached(),\n                \"a PDF dictionary has more than 4095 entries\";\n                hint: \"set the PDF version to PDF 1.5 or later\";\n                hint: \"alternatively, try reducing the complexity of your document\";\n            ),\n            KrillaError::Limit(LimitError::TooLargeFloat) => bail!(\n                Span::detached(),","sourceCodeStart":491,"sourceCodeEnd":527,"githubUrl":"https://github.com/typst/typst/blob/35417aa769ab9d699a60384f91082b09bc6ba421/crates/typst-pdf/src/convert.rs#L491-L527","documentation":"Fires in finish when krilla reports KrillaError::DuplicateNamedDestination: the same named destination was registered more than once in the output PDF. This is an internal link/destination bookkeeping error, so the hint requests a bug report.","triggerScenarios":"Thrown at crates/typst-pdf/src/convert.rs:509 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Report this as a bug to the Typst repository"],"exampleFix":null,"handlingStrategy":"fallback","validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"35417aa769ab9d699a60384f91082b09bc6ba421","analyzedAt":"2026-08-17T21:03:48.984Z","contentChangedAt":"2026-08-17T21:03:48.984Z","schemaVersion":2},"datasetVersion":"2026-09-14T00:17:10.932Z"}