chore(deps): update rust crate annotate-snippets to 0.12.0 #15903
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
0.11.5
->0.12.0
Release Notes
rust-lang/annotate-snippets-rs (annotate-snippets)
v0.12.1
Compare Source
Fixes
simd
is enabled #286Snippet
has no annotations and nothing comes after it #288v0.12.0
Compare Source
Migration
Note that the top-level type changed from
Message
toReport
.Message
is now a single block of text within aReport
.Message::footer
with eitherMessage
to aGroup
Group
Level::<Variant>
withLevel::<VARIANT>
, e.g.Level::Error
->Level::ERROR
Snippet
s on aMessage
(the type returned byLevel::title
), add them to theGroup
that is created with theTitle
Snippet::origin
has been renamed toSnippet::path
Annotation
from aLevel
, create them from anAnnotationKind
AnnotationKind::Primary
will automatically match theLevel
of theGroup
AnnotationKind::Context
Level::title
has been replaced withLevel::primary_level
(for firstGroup
) andLevel::secondary_level
(subsequentGroup
s)Message::id
has moved toTitle::id
Renderer::line_no
toRenderer::line_num
snippet.fold(false)
if unspecified, removingsnippet.fold(true)
if specifiedFeatures
renderer::DecorStyle
Group
] to indicate what all is included between the unicode begin and end decorLevel::secondary_title
to allow for custom ANSI escape code styling to be applied to thoseTitle
sAnnotationKind::Visible
to force spans to be visible within a Snippet, despite code folding, without any visible markerOrigin
for referencing code without the sourceGroup::with_level
to allowSnippet
s without aTitle
Level::no_name
to hide the level nameLevel::with_name
to override what is rendered for that levelTitle::id_url
to turnTitle::id
into a linkPatch
for displaying changes to codeFixes
Cow<str>
to allow for easier management of owned dataSnippet::path
now acceptsNone
Annotation::label
now acceptsNone
Configuration
📅 Schedule: Branch creation - "before 5am on the first day of the month" (UTC), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.