From 6b426e217811fe0b537bb65e2769cd8bb71838bc Mon Sep 17 00:00:00 2001 From: Tshepang Mbambo Date: Wed, 15 Feb 2023 03:07:37 +0200 Subject: [PATCH] typo Fixes #1599 --- src/compiler-debugging.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/compiler-debugging.md b/src/compiler-debugging.md index eac9aeb6d..6920904bb 100644 --- a/src/compiler-debugging.md +++ b/src/compiler-debugging.md @@ -185,7 +185,7 @@ stack backtrace: Cool, now I have a backtrace for the error! -## Getting the the error creation location +## Getting the error creation location `-Z track-diagnostics` can help figure out where errors are emitted. It uses `#[track_caller]` for this and prints its location alongside the error: