Skip to content

fix(examples): Remove the deprecated std::usize import - #160

Closed
lcian wants to merge 2 commits into
liufuyang:mainfrom
getsentry:lcian/fix/deprecated-usize-import
Closed

lcian wants to merge 2 commits into
liufuyang:mainfrom
getsentry:lcian/fix/deprecated-usize-import

Conversation

@lcian

@lcian lcian commented Nov 26, 2026

Copy link
Copy Markdown
Collaborator

No description provided.

Rust 1.100 deprecates the std::usize module, which fails the CI build as it denies warnings.
The current prost-build adds #[allow(clippy::all)] to every generated struct, so the CI build
left the committed file out of date and failed the git status check.
@lcian lcian closed this Nov 26, 2026
@codecov

codecov Bot commented Nov 26, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 63.6%. Comparing base (92e4f6e) to head (c345524).

Additional details and impacted files

Impacted file tree graph

@@           Coverage Diff           @@
##            main    #160     +/-   ##
=======================================
- Coverage   64.3%   63.6%   -0.6%     
=======================================
  Files          6       6             
  Lines        691     692      +1     
=======================================
- Hits         444     440      -4     
- Misses       247     252      +5     
Flag Coverage Δ
rust 63.6% <ø> (-0.6%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.
see 3 files with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant