pub fn current_entries(layer: &DiagnosticsLayer) -> Vec<ErrorEntry>Expand description
Build the current entry set from the layer. The pull half of the
feed — used by :lsp-diagnostics-to-error-list and by the
option’s false → true transition, so a snapshot and a live tick
produce identical results.