File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -280,13 +280,13 @@ There are two main ways to find where a given error is emitted:
280280 will treat the first error being emitted as an Internal Compiler Error, which
281281 allows you to get a
282282 stack trace at the point the error has been emitted. Change the ` 1 ` to
283- something else if you wish to trigger on a later error. One limitation
284- with this approach is that some calls get elided from the stack trace because
285- they get inlined in the compiled ` rustc ` .
286- Another limitation is the same problem we faced with
287- the prior approach, where the _ construction_ of the error is far away from
288- where it is _ emitted _ . In some cases, we buffer multiple errors in order to
289- emit them in order.
283+ something else if you wish to trigger on a later error.
284+
285+ There are limitations with this approach:
286+ - Some calls get elided from the stack trace because they get inlined in the compiled ` rustc ` .
287+ - The _ construction_ of the error is far away from where it is _ emitted _ ,
288+ a problem similar to the one we faced with the ` grep ` approach.
289+ In some cases, we buffer multiple errors in order to emit them in order.
290290
291291The regular development practices apply: judicious use of ` debug!() ` statements
292292and use of a debugger to trigger break points in order to figure out in what
You can’t perform that action at this time.
0 commit comments