Skip to content

chore(deps): update rust crate annotate-snippets to 0.12.0 (libc-0.2) - autoclosed - #5420

Closed
renovate-bot wants to merge 1852 commits into
rust-lang:libc-0.2from
renovate-bot:renovate/annotate-snippets-0.x
Closed

chore(deps): update rust crate annotate-snippets to 0.12.0 (libc-0.2) - autoclosed#5420
renovate-bot wants to merge 1852 commits into
rust-lang:libc-0.2from
renovate-bot:renovate/annotate-snippets-0.x

Conversation

@renovate-bot

@renovate-bot renovate-bot commented Aug 18, 2026

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Type Update Change
annotate-snippets dev-dependencies minor 0.11.50.12.0

Release Notes

rust-lang/annotate-snippets-rs (annotate-snippets)

v0.12.16

Compare Source

Fixed
  • Correctly format suggestion paths when DecorStyle::Unicode #​414
  • Correctly highlight multi-line removals that leave only whitespace #​413

v0.12.15

Compare Source

Fixed
  • Source highlighting no longer misaligns when source contains zero-width or multi-width characters #​400

v0.12.14

Compare Source

Fixed
  • Don't trim middle of spans smaller than padding + margin
  • Properly handle replacement length mismatches
  • Account for "gutter" width when trimming middle of long spans
  • Account for left trim when trimming middle of long spans

v0.12.13

Compare Source

Fixed
  • Correctly handle tabs on the first and last lines of multiline Patch #​373 and #​380

v0.12.12

Compare Source

Added

v0.12.11

Compare Source

Fixed
  • Fix Unicode highlight alignment in patches #​357

v0.12.10

Compare Source

Fixed
  • Render all removed lines when multiple Patch remove lines #​353

v0.12.9

Compare Source

Fixes
  • Prefer exact prefix/suffix matches when trimming replacements #​345

v0.12.8

Compare Source

Fixes
  • No longer panic when annotating leading whitespace #​334

v0.12.7

Compare Source

Fixes
  • Correctly calculate annotation offsets when trimming unicode characters #​331

v0.12.6

Compare Source

Changed
  • Upgraded unicode-width to 0.2.2 #​326
    • This update adds support for Unicode 16 and 17, and can affect character width calculations
  • Use straight arrows for standalone Origin #​327
Fixes
  • Correctly calculate line numbers for trimmed multi-line suggestions #​321
  • Respect .fold(false) when set on suggestions #​322
  • Properly calculate the max line number width for suggestions #​323
  • Show full line when Patch span points to line end #​324

v0.12.5

Compare Source

Fixes
  • Highlight the correct span for duplicated diff lines #​318

v0.12.4

Compare Source

Fixes
  • Removed implicit padding with report starting with secondary title #​310

v0.12.3

Compare Source

Features
  • Add Title::element for less boilerplate
  • Add renderer::DEFAULT_*_STYLE to expose default styles
Documentation
  • Clarify role of Renderer::<style> methods

v0.12.2

Compare Source

Fixes
  • Duplicate multi-line annotations get treated like the are distinct #​293
  • Allow passing 0 to Snippet::line_start #​294

v0.12.1

Compare Source

Fixed
  • Correctly format suggestion paths when DecorStyle::Unicode #​414
  • Correctly highlight multi-line removals that leave only whitespace #​413

v0.12.0

Compare Source

Migration

Note that the top-level type changed from Message to Report.
Message is now a single block of text within a Report.

  • Replace Message::footer with either
    • adding a Message to a Group
    • starting a new Group
  • Replace Level::<Variant> with Level::<VARIANT>, e.g. Level::Error -> Level::ERROR
  • Instead of creating Snippets on a Message (the type returned by Level::title), add them to the Group that is created with the Title
  • Snippet::origin has been renamed to Snippet::path
  • Instead of creating an Annotation from a Level, create them from an AnnotationKind
    • AnnotationKind::Primary will automatically match the Level of the Group
    • All others existing annotations should likely be AnnotationKind::Context
  • Level::title has been replaced with Level::primary_level (for first Group) and Level::secondary_level (subsequent Groups)
  • Message::id has moved to Title::id
  • Renamed Renderer::line_no to Renderer::line_num
  • Add snippet.fold(false) if unspecified, removing snippet.fold(true) if specified
Features
  • Added unicode decor support, see renderer::DecorStyle
  • Created [Group] to indicate what all is included between the unicode begin and end decor
  • Added Level::secondary_title to allow for custom ANSI escape code styling to be applied to those Titles
  • Added AnnotationKind::Visible to force spans to be visible within a Snippet, despite code folding, without any visible marker
  • Added Origin for referencing code without the source
  • Added Group::with_level to allow Snippets without a Title
  • Added Level::no_name to hide the level name
  • Added Level::with_name to override what is rendered for that level
  • Added Title::id_url to turn Title::id into a link
  • Added Patch for displaying changes to code
Fixes
  • Switched strings to Cow<str> to allow for easier management of owned data
  • Snippet::path now accepts None
  • Annotation::label now accepts None
  • Various rendering fixes

Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At any time (no schedule defined)
  • 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.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

tgross35 and others added 30 commits July 20, 2026 21:52
(backport <rust-lang#5264>)
(cherry picked from commit 8102df6)
Add the socket and network interface ioctls from <sys/sockio.h> that
were not yet exposed (SIOCGIFADDR is already defined at the BSD level).

Link: https://github.com/apple-oss-distributions/xnu/blob/f6217f891ac0bb64f3d375211650a4c1ff8ca1ea/bsd/sys/sockio.h

(backport <rust-lang#5263>)
(cherry picked from commit 8ed7e2d)
Apply this diff to all instances of the constant warning:

    -/// This symbol is prone to change across releases upstream.
    -/// See the [usage guidelines](crate#usage-guidelines) for details.
    +/// Constants may change across releases. See the [usage guidelines](crate#usage-guidelines)
    +/// for details.

* "this symbol" -> "constants" since these aren't link-time bindings.
  Also hint that others may also change even if not documented as such,
  to avoid the implication that constants without this doc won't change.
* "is prone to" -> "may", "prone" sounds somewhat habitual while in
  practice these changes are rare.
* Drop "upstream" since we're concerned about what libc does rather than
  what upstream does (though they're usually in sync).

Applied with:

    rg 'This symbols? is prone' -l | xargs perl -0777 -i -pe \
        's|This symbols? is prone to change.*\n.*for details.|Constants may change across releases. See the [usage guidelines](crate#usage-guidelines)\n/// for details.|g'

(backport <rust-lang#5266>)
(cherry picked from commit 1453dda)
This seems to now match under a different lint with the latest stable.

(backport <rust-lang#5266>)
(cherry picked from commit c2ef687)
apple was missing the two bpf structs; freebsd was missing the DLT_*
link types.

(backport <rust-lang#5235>)
(cherry picked from commit 1af31e1)
(backport <rust-lang#5235>)
(cherry picked from commit 651a32c)
It makes sense for us to keep the internal config around for ease of
matching source, but 64-bit off_t with 32-bit time_t is not a
combination we need to support. This is the only option enabled by
toggling _TIME_BITS and _FILE_OFFSET_BITS separately in glibc.

Thus, remove `libc_unstable_gnu_file_offset_bits` but keep the internal
`gnu_file_offset_bits64`.

Closes: rust-lang#5199

(backport <rust-lang#5268>)
(cherry picked from commit 6a08ed3)
(backport <rust-lang#5239>)
(cherry picked from commit bf50219)
(backport <rust-lang#5272>)
(cherry picked from commit ecf81a2)
(backport <rust-lang#5224>)
(cherry picked from commit a234740)
(backport <rust-lang#5273>)
(cherry picked from commit d669ed3)
(backport <rust-lang#5273>)
(cherry picked from commit 4d09ad7)
(backport <rust-lang#5271>)
(cherry picked from commit 70c67fe)
(backport <rust-lang#5275>)
(cherry picked from commit 6094fee)
Bumps [taiki-e/install-action](https://github.com/taiki-e/install-action) from 2.82.9 to 2.83.2.
- [Release notes](https://github.com/taiki-e/install-action/releases)
- [Changelog](https://github.com/taiki-e/install-action/blob/main/CHANGELOG.md)
- [Commits](taiki-e/install-action@4684b84...43aecc8)

---
updated-dependencies:
- dependency-name: taiki-e/install-action
  dependency-version: 2.83.2
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

(backport <rust-lang#5279>)
(cherry picked from commit 3704850)
Bumps [vmactions/netbsd-vm](https://github.com/vmactions/netbsd-vm) from 1.4.1 to 1.4.2.
- [Release notes](https://github.com/vmactions/netbsd-vm/releases)
- [Commits](vmactions/netbsd-vm@1d97677...0c26a4c)

---
updated-dependencies:
- dependency-name: vmactions/netbsd-vm
  dependency-version: 1.4.2
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

(backport <rust-lang#5278>)
(cherry picked from commit df537bc)
(backport <rust-lang#5282>)
(cherry picked from commit ee8c041)
Bumps [vmactions/solaris-vm](https://github.com/vmactions/solaris-vm) from 1.3.7 to 1.3.8.
- [Release notes](https://github.com/vmactions/solaris-vm/releases)
- [Commits](vmactions/solaris-vm@d30dd6c...315163f)

---
updated-dependencies:
- dependency-name: vmactions/solaris-vm
  dependency-version: 1.3.8
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

(backport <rust-lang#5284>)
(cherry picked from commit 2425f58)
@rustbot

rustbot commented Sep 5, 2026

Copy link
Copy Markdown
Collaborator

Some changes occurred in an OpenBSD module

cc @semarie

Some changes occurred in a solarish module

cc @jclulow, @pfmooney

Some changes occurred in an Android module

cc @maurer

@rustbot

rustbot commented Sep 5, 2026

Copy link
Copy Markdown
Collaborator

⚠️ Warning ⚠️

  • Pull requests are usually filed against the main branch for this repo, but this one is against libc-0.2. Please double check that you specified the right target!
  • There are uncanonicalized issue links (such as #123) in the commit messages of the following commits.
    Please add the organization and repository before the issue number (like so rust-lang/rust#123) to avoid issues with subtree.
  • There are links that are not permanent in the commit message of the following commits. Please use a permalink instead.

@rustbot

rustbot commented Sep 5, 2026

Copy link
Copy Markdown
Collaborator

This PR was rebased onto a different libc-0.2 commit. Here's a range-diff highlighting what actually changed.

Rebasing is a normal part of keeping PRs up to date, so no action is needed—this note is just to help reviewers.

@renovate-bot renovate-bot changed the title chore(deps): update rust crate annotate-snippets to 0.12.0 (libc-0.2) chore(deps): update rust crate annotate-snippets to 0.12.0 (libc-0.2) - autoclosed Sep 5, 2026
@renovate-bot
renovate-bot deleted the renovate/annotate-snippets-0.x branch September 5, 2026 07:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.