From 86cc0e44a468e52ecb6934c1a5a2cb601428f247 Mon Sep 17 00:00:00 2001 From: Scott Schafer Date: Wed, 11 Jun 2025 04:52:30 -0600 Subject: [PATCH 1/2] test: Update highlight_title to match rustc --- examples/highlight_title.rs | 56 ++++++++++++++++++++++-------------- examples/highlight_title.svg | 29 +++++++++++++++---- 2 files changed, 58 insertions(+), 27 deletions(-) diff --git a/examples/highlight_title.rs b/examples/highlight_title.rs index 12c106a6..218e414f 100644 --- a/examples/highlight_title.rs +++ b/examples/highlight_title.rs @@ -5,7 +5,6 @@ fn main() { let source = r#"// Make sure "highlighted" code is colored purple //@ compile-flags: --error-format=human --color=always -//@ error-pattern:for<'a>  //@ edition:2018 use core::pin::Pin; @@ -24,8 +23,7 @@ fn wrapped_fn<'a>(_: Box<(dyn Any + Send)>) -> Pin +