rust/compiler/rustc_errors/src
Matthias Krüger db7e32c074
Rollup merge of #139468 - compiler-errors:has_stashed_diagnostic, r=oli-obk
Don't call `Span::with_parent` on the good path in `has_stashed_diagnostic`

More unnecessary incurred span tracking avoided by not calling `span.with_parent(None)`. This is useless on its own but makes it much easier to fix other "span tracking on the good path" issues in the future.

r? oli-obk
2025-04-09 14:52:38 +02:00
..
json Rustfmt 2025-02-08 22:12:13 +00:00
markdown Use default field values in markdown::parse::Context 2025-03-03 20:04:20 +00:00
annotate_snippet_emitter_writer.rs Split ExpectationLintId off Level 2025-04-03 09:17:55 +00:00
codes.rs Stop using String for error codes. 2024-01-29 07:41:41 +11:00
diagnostic_impls.rs Fix rebase 2025-02-25 17:27:22 +00:00
diagnostic.rs Remove unnecessary dyn Display in favor of str 2025-04-08 06:09:04 +00:00
emitter.rs Do not suggest using -Zmacro-backtrace for builtin macros 2025-03-14 19:50:03 +00:00
error.rs Reformat use declarations. 2024-07-29 08:26:52 +10:00
json.rs Split ExpectationLintId off Level 2025-04-03 09:17:55 +00:00
lib.rs Don't call Span.with_parent on the good path in has_stashed_diagnostic 2025-04-07 05:37:25 +00:00
lock.rs Reformat using the new identifier sorting from rustfmt 2024-09-22 19:11:29 -04:00
registry.rs Reformat use declarations. 2024-07-29 08:26:52 +10:00
snippet.rs Use abs_diff where applicable 2025-03-27 18:29:06 +00:00
styled_buffer.rs Fix rustdoc test 2025-03-07 17:55:08 +00:00
tests.rs Delete the cfg(not(parallel)) serial compiler 2024-11-12 13:38:58 +00:00
translation.rs Convert Option<&Lrc<T>> return types to Option<&T>. 2024-10-07 13:56:29 +11:00