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: