1
Fork 0
rust/compiler/rustc_middle/src
Zalathar 44b47aa976 coverage: Add CoverageKind::SpanMarker for including extra spans in MIR
There are cases where coverage instrumentation wants to show a span for some
syntax element, but there is no MIR node that naturally carries that span, so
the instrumentor can't see it.

MIR building can now use this new kind of coverage statement to deliberately
include those spans in MIR, attached to a dummy statement that has no other
effect.
2023-12-08 22:40:49 +11:00
..
dep_graph Reduce exposure of things. 2023-11-16 16:49:22 +11:00
hir resolve: Feed the def_kind query immediately on DefId creation 2023-11-28 15:39:31 +03:00
hooks Rename hook. 2023-11-01 16:49:18 +00:00
infer Uplift CanonicalVarInfo and friends 2023-11-21 17:49:57 +00:00
middle Avoid adding compiler-used functions to symbols.o 2023-12-04 22:28:00 +08:00
mir coverage: Add CoverageKind::SpanMarker for including extra spans in MIR 2023-12-08 22:40:49 +11:00
query ctfe interpreter: extend provenance so that it can track whether a pointer is immutable 2023-12-07 17:46:36 +01:00
thir Add never_patterns feature gate 2023-11-29 03:58:29 +01:00
traits EvaluatedToUnknown -> EvaluatedToAmbigStackDependent, EvaluatedToRecur -> EvaluatedToErrStackDependent 2023-12-06 19:59:47 +00:00
ty Auto merge of #118725 - lcnr:normalizes-to-projection-split-3, r=BoxyUwU 2023-12-08 02:28:10 +00:00
util Rename HandlerInner::delay_span_bug as HandlerInner::span_delayed_bug. 2023-12-02 09:01:19 +11:00
arena.rs Cache flags for ty::Const 2023-11-22 23:28:28 +00:00
error.rs don't point at const usage site for resolution-time errors 2023-09-14 22:34:05 +02:00
lib.rs Use rustc_fluent_macro::fluent_messages! directly. 2023-11-26 08:38:40 +11:00
lint.rs Remove support for compiler plugins. 2023-11-04 08:50:46 +11:00
macros.rs Rename HandlerInner::delay_span_bug as HandlerInner::span_delayed_bug. 2023-12-02 09:01:19 +11:00
metadata.rs rustc_metadata: Remove Span from ModChild 2023-04-18 17:25:04 +03:00
tests.rs
thir.rs Add never_patterns feature gate 2023-11-29 03:58:29 +01:00
values.rs rustc: hir().local_def_id_to_hir_id() -> tcx.local_def_id_to_hir_id() cleanup 2023-11-26 12:41:21 +03:00