Skip to content
Navigation Menu
Toggle navigation
Sign in
Appearance settings
Platform
GitHub Copilot
Write better code with AI
GitHub Spark
New
Build and deploy intelligent apps
GitHub Models
New
Manage and compare prompts
GitHub Advanced Security
Find and fix vulnerabilities
Actions
Automate any workflow
Codespaces
Instant dev environments
Issues
Plan and track work
Code Review
Manage code changes
Discussions
Collaborate outside of code
Code Search
Find more, search less
Explore
Why GitHub
Documentation
GitHub Skills
Blog
Integrations
GitHub Marketplace
MCP Registry
View all features
Solutions
By company size
Enterprises
Small and medium teams
Startups
Nonprofits
By use case
App Modernization
DevSecOps
DevOps
CI/CD
View all use cases
By industry
Healthcare
Financial services
Manufacturing
Government
View all industries
View all solutions
Resources
Topics
AI
DevOps
Security
Software Development
View all
Explore
Learning Pathways
Events & Webinars
Ebooks & Whitepapers
Customer Stories
Partners
Executive Insights
Open Source
GitHub Sponsors
Fund open source developers
The ReadME Project
GitHub community articles
Repositories
Topics
Trending
Collections
Enterprise
Enterprise platform
AI-powered developer platform
Available add-ons
GitHub Advanced Security
Enterprise-grade security features
Copilot for business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Pricing
is:issue cast_ptr_alignment
Search code, repositories, users, issues, pull requests...
Search syntax tips
Provide feedback
Saved searches
Use saved searches to filter your results more quickly
Sign in
Sign up
Appearance settings
Resetting focus
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
rust-lang
/
rust-clippy
Public
Notifications
You must be signed in to change notification settings
Fork
1.8k
Star
12.5k
Code
Issues
2.3k
Pull requests
181
Discussions
Actions
Projects
0
Wiki
Security
Uh oh!
There was an error while loading.
Please reload this page
.
Insights
Additional navigation options
Code
Issues
Pull requests
Discussions
Actions
Projects
Wiki
Security
Insights
Most commonly ignored lints on crates.io
#7666 ·
dtolnay
opened
on Sep 13, 2021
23
Issues
Search Issues
is
:
issue
cast_ptr_alignment
is:issue cast_ptr_alignment
Search
Labels
Milestones
New issue
Search results
Open
Closed
test <code>to_string_in_format_args_incremental</code> fails in a read-only working directory
Status: Closed (completed).
#11126
In rust-lang/rust-clippy;
·
by
Noratrieb
was closed
on Jun 5, 2025
Have a lint against usize-to-u64 casts (or, against *all* integer casts)
A-lint
Area: New lints
Area: New lints
good first issue
These issues are a good way to get started with Clippy
These issues are a good way to get started with Clippy
Status: Open.
#9231
In rust-lang/rust-clippy;
·
RalfJung
opened
on Jul 23, 2022
borrow_as_ptr false positive on sequence of pointer casts
C-bug
Category: Clippy is not doing the correct thing
Category: Clippy is not doing the correct thing
I-false-positive
Issue: The lint was triggered on code it shouldn't have
Issue: The lint was triggered on code it shouldn't have
Status: Open.
#8286
In rust-lang/rust-clippy;
·
dtolnay
opened
on Jan 15, 2022
Most commonly ignored lints on crates.io
A-category
Area: Categorization of lints
Area: Categorization of lints
C-tracking-issue
Category: Tracking Issue
Category: Tracking Issue
S-needs-discussion
Status: Needs further discussion before merging or work can be started
Status: Needs further discussion before merging or work can be started
Status: Closed (completed).
#7666
In rust-lang/rust-clippy;
·
by
dtolnay
was closed
on Oct 9, 2022
Tracking Issue for refactoring <code>types.rs</code>
C-tracking-issue
Category: Tracking Issue
Category: Tracking Issue
Status: Closed (completed).
#6724
In rust-lang/rust-clippy;
·
by
Y-Nak
was closed
on Mar 31, 2021
[Roadmap] Lint groups
A-category
Area: Categorization of lints
Area: Categorization of lints
C-enhancement
Category: Enhancement of lints, like adding more cases or adding help messages
Category: Enhancement of lints, like adding more cases or adding help messages
C-tracking-issue
Category: Tracking Issue
Category: Tracking Issue
P-low
Priority: Low
Priority: Low
Status: Open.
#6626
In rust-lang/rust-clippy;
·
flip1995
opened
on Jan 22, 2021
ICE: unnested_or_patterns while checking rustc_typeck
C-bug
Category: Clippy is not doing the correct thing
Category: Clippy is not doing the correct thing
I-ICE
Issue: Clippy panicked, giving an Internal Compilation Error (ICE) ❄️
Issue: Clippy panicked, giving an Internal Compilation Error (ICE) ❄️
Status: Closed (completed).
#5780
In rust-lang/rust-clippy;
·
by
matthiaskrgr
was closed
on Jul 13, 2020
False positive in cast_ptr_alignment
good first issue
These issues are a good way to get started with Clippy
These issues are a good way to get started with Clippy
Status: Closed (completed).
#5618
In rust-lang/rust-clippy;
·
by
djugei
was closed
on May 31, 2020
Most commonly ignored lints
A-category
Area: Categorization of lints
Area: Categorization of lints
C-tracking-issue
Category: Tracking Issue
Category: Tracking Issue
S-needs-discussion
Status: Needs further discussion before merging or work can be started
Status: Needs further discussion before merging or work can be started
Status: Closed (completed).
#5418
In rust-lang/rust-clippy;
·
by
dtolnay
was closed
on Sep 13, 2021
Extend <code>cast_ptr_alignment</code> for type alias
C-enhancement
Category: Enhancement of lints, like adding more cases or adding help messages
Category: Enhancement of lints, like adding more cases or adding help messages
Status: Closed (completed).
#4754
In rust-lang/rust-clippy;
·
by
tesuji
was closed
on Feb 2, 2020
Extend <code>cast_ptr_alignment</code> lint for <code>pointer::cast</code> method
C-enhancement
Category: Enhancement of lints, like adding more cases or adding help messages
Category: Enhancement of lints, like adding more cases or adding help messages
L-suggestion
Lint: Improving, adding or fixing lint suggestions
Lint: Improving, adding or fixing lint suggestions
Status: Closed (completed).
#4708
In rust-lang/rust-clippy;
·
by
tesuji
was closed
on Jan 11, 2021
<code>cast_ptr_alignment</code> should not call out ZST -> to other pointers
Status: Closed (completed).
#4256
In rust-lang/rust-clippy;
·
by
skade
was closed
on Jul 9, 2019
You can’t perform that action at this time.